Fix reference implementation (#1981)

This commit is contained in:
Andre Delfino 2021-06-07 20:24:15 -03:00 committed by GitHub
parent be369d9066
commit 818bd7e848
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ The reference implementation is found in a dedicated GitHub repo
globals()[class_name] = cls globals()[class_name] = cls
sentinel = cls() sentinel = cls()
cls.__new__ lambda cls: sentinel cls.__new__ = lambda cls: sentinel
return sentinel return sentinel