aboutsummaryrefslogtreecommitdiff
path: root/man/man3/tomo-List.sample.3
diff options
context:
space:
mode:
Diffstat (limited to 'man/man3/tomo-List.sample.3')
-rw-r--r--man/man3/tomo-List.sample.35
1 files changed, 2 insertions, 3 deletions
diff --git a/man/man3/tomo-List.sample.3 b/man/man3/tomo-List.sample.3
index 538310f9..0e4d779c 100644
--- a/man/man3/tomo-List.sample.3
+++ b/man/man3/tomo-List.sample.3
@@ -2,7 +2,7 @@
.\" Copyright (c) 2025 Bruce Hill
.\" All rights reserved.
.\"
-.TH List.sample 3 2025-04-30 "Tomo man-pages"
+.TH List.sample 3 2025-09-21 "Tomo man-pages"
.SH NAME
List.sample \- weighted random choices
.SH LIBRARY
@@ -35,6 +35,5 @@ Errors will be raised if any of the following conditions occurs: - The given lis
.SH EXAMPLES
.EX
->> [10, 20, 30].sample(2, weights=[90%, 5%, 5%])
-= [10, 10]
+assert [10, 20, 30].sample(2, weights=[90%, 5%, 5%]) == [10, 10]
.EE