blueloveTH il y a 1 an
Parent
commit
9482909ee7
2 fichiers modifiés avec 2 ajouts et 3 suppressions
  1. 2 3
      python/typing.py
  2. 0 0
      src/common/_generated.c

+ 2 - 3
python/typing.py

@@ -24,7 +24,6 @@ Union = _PLACEHOLDER
 Optional = _PLACEHOLDER
 Callable = _PLACEHOLDER
 Type = _PLACEHOLDER
-Protocol = _PLACEHOLDER
 
 Literal = _PLACEHOLDER
 LiteralString = _PLACEHOLDER
@@ -37,8 +36,8 @@ Hashable = _PLACEHOLDER
 TypeVar = _PLACEHOLDER
 Self = _PLACEHOLDER
 
-class Generic:
-    pass
+Protocol = object
+Generic = object
 
 TYPE_CHECKING = False
 

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
src/common/_generated.c


Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff