mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
random: various fixes (#4128)
* random.sample: make counts keyword-only * random: mark positional-only args * random.triangular: fix type of mode * random: add randbytes Co-authored-by: hauntsaninja <>
This commit is contained in:
@@ -166,11 +166,9 @@ profile.Profile.runcall
|
||||
pwd.getpwnam
|
||||
pwd.getpwuid
|
||||
queue.SimpleQueue.__init__
|
||||
random.Random.getrandbits
|
||||
random.Random.sample
|
||||
random.getrandbits
|
||||
random.sample
|
||||
random.SystemRandom.getrandbits
|
||||
secrets.SystemRandom.getstate
|
||||
secrets.SystemRandom.getrandbits
|
||||
secrets.compare_digest
|
||||
signal.sigtimedwait
|
||||
signal.sigwaitinfo
|
||||
|
||||
@@ -381,10 +381,8 @@ pydoc.TextDoc.docother
|
||||
pydoc.TextDoc.docproperty
|
||||
pydoc.TextDoc.docroutine
|
||||
random.Random.randrange
|
||||
random.Random.triangular
|
||||
random.SystemRandom.getstate
|
||||
random.randrange
|
||||
random.triangular
|
||||
re.error.__init__
|
||||
runpy.run_path
|
||||
sched.Event.__doc__
|
||||
|
||||
Reference in New Issue
Block a user