OSDN Git Service
(root)
/
joypy
/
Thun.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25525de
)
AttributeError: 'itertools.count' object has no attribute '__next__'
author
Simon Forman
<sforman@hushmail.com>
Fri, 24 Apr 2020 17:10:50 +0000
(10:10 -0700)
committer
Simon Forman
<sforman@hushmail.com>
Fri, 24 Apr 2020 17:10:50 +0000
(10:10 -0700)
joy/library.py
patch
|
blob
|
history
diff --git
a/joy/library.py
b/joy/library.py
index
0775149
..
c8d2c74
100644
(file)
--- a/
joy/library.py
+++ b/
joy/library.py
@@
-75,8
+75,8
@@
from .utils.types import (
)
-_SYM_NUMS =
count().__next__
-_COMB_NUMS =
count().__next__
+_SYM_NUMS =
lambda: next(count())
+_COMB_NUMS =
lambda: next(count())
_R = list(range(10))