getrandbits and itertools.repeat now accept __index__ protocol. · RustPython/RustPython@8676ba9 · GitHub
Skip to content

Commit 8676ba9

Browse files
committed
getrandbits and itertools.repeat now accept __index__ protocol.
1 parent c4de2a7 commit 8676ba9

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

crates/stdlib/src/random.rs

Lines changed: 9 additions & 2 deletions

crates/vm/src/stdlib/itertools.rs

Lines changed: 3 additions & 2 deletions

0 commit comments

Comments
 (0)