We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7f2acc4 + f8a4c40 commit 4a0d0dfCopy full SHA for 4a0d0df
randomgen/wrapper.pyx
@@ -72,6 +72,16 @@ cdef class UserBitGenerator(BitGenerator):
72
a single input. If not provided, getting the ``state`` property
73
will raise NotImplementedError.
74
75
+ Notes
76
+ -----
77
+ There is one key caveat when using a UserBitGenerator. The callable must run without
78
+ exceptions.
79
+
80
+ .. warning::
81
+ It is essential that the callable function runs without producing an Exception.
82
+ Exceptions will be silently ignored and the generator will produce incorrect
83
+ results.
84
85
Examples
86
--------
87
A generator that rotates across 4 values from random.org.
0 commit comments