aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/random.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/random.py')
-rw-r--r--Lib/random.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/random.py b/Lib/random.py
index 53981f3e4f8..365a0195720 100644
--- a/Lib/random.py
+++ b/Lib/random.py
@@ -100,7 +100,7 @@ class Random(_random.Random):
self.seed(x)
self.gauss_next = None
- def __init_subclass__(cls, **kwargs):
+ def __init_subclass__(cls, /, **kwargs):
"""Control how subclasses generate random integers.
The algorithm a subclass can use depends on the random() and/or