Fix reference implementation (#1981)
This commit is contained in:
parent
be369d9066
commit
818bd7e848
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue