Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit366d95d

Browse files
gh-133372: remove out of date todos from types module about generator wrapper (#134563)
1 parentf9324cb commit366d95d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

‎Lib/types.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,6 @@ def deleter(self, fdel):
250250

251251

252252
class_GeneratorWrapper:
253-
# TODO: Implement this in C.
254253
def__init__(self,gen):
255254
self.__wrapped=gen
256255
self.__isgen=gen.__class__isGeneratorType
@@ -305,7 +304,6 @@ def coroutine(func):
305304
# Check if 'func' is a generator function.
306305
# (0x20 == CO_GENERATOR)
307306
ifco_flags&0x20:
308-
# TODO: Implement this in C.
309307
co=func.__code__
310308
# 0x100 == CO_ITERABLE_COROUTINE
311309
func.__code__=co.replace(co_flags=co.co_flags|0x100)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp