Skip to content

Commit

Permalink
Fix reference implementation (#1981)
Browse files Browse the repository at this point in the history
  • Loading branch information
andresdelfino authored Jun 7, 2021
1 parent be369d9 commit 818bd7e
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 818bd7e

Please sign in to comment.