Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pep-0661.rst
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ The reference implementation is found in a dedicated GitHub repo
globals()[class_name] = cls

sentinel = cls()
cls.__new__ lambda cls: sentinel
cls.__new__ = lambda cls: sentinel

return sentinel

Expand Down