Browse Source

add decorators for `typing`

blueloveTH 2 years ago
parent
commit
6f19f8e3fa
1 changed files with 4 additions and 0 deletions
  1. 4 0
      python/typing.py

+ 4 - 0
python/typing.py

@@ -26,3 +26,7 @@ class Generic:
     pass
     pass
 
 
 TYPE_CHECKING = False
 TYPE_CHECKING = False
+
+# decorators
+overload = lambda x: x
+final = lambda x: x