Parcourir la source

Update pkpy.pyi

blueloveTH il y a 1 an
Parent
commit
f38bf0a2b9
1 fichiers modifiés avec 7 ajouts et 4 suppressions
  1. 7 4
      include/typings/pkpy.pyi

+ 7 - 4
include/typings/pkpy.pyi

@@ -7,7 +7,10 @@ class TValue[T]:
     @property
     def value(self) -> T: ...
 
-# TValue_int = TValue[int]
-# TValue_float = TValue[float]
-# TValue_vec2i = TValue[vec2i]
-# TValue_vec2 = TValue[vec2]
+TValue_int = TValue[int]
+TValue_float = TValue[float]
+TValue_vec2i = TValue[vec2i]
+TValue_vec2 = TValue[vec2]
+
+def memory_usage() -> str:
+    """Return a summary of the memory usage."""