| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -250,7 +250,6 @@ def deleter(self, fdel): | |||
| 250 | 250 | ||
| 251 | 251 | ||
| 252 | 252 | class _GeneratorWrapper: | |
| 253 | - # TODO: Implement this in C. | ||
| 254 | 253 | def __init__(self, gen): | |
| 255 | 254 | self.__wrapped = gen | |
| 256 | 255 | self.__isgen = gen.__class__ is GeneratorType | |
@@ -305,7 +304,6 @@ def coroutine(func): | |||
| 305 | 304 | # Check if 'func' is a generator function. | |
| 306 | 305 | # (0x20 == CO_GENERATOR) | |
| 307 | 306 | if co_flags & 0x20: | |
| 308 | - # TODO: Implement this in C. | ||
| 309 | 307 | co = func.__code__ | |
| 310 | 308 | # 0x100 == CO_ITERABLE_COROUTINE | |
| 311 | 309 | func.__code__ = co.replace(co_flags=co.co_flags | 0x100) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments