瀏覽代碼

Update pkpy.pyi

blueloveTH 1 年之前
父節點
當前提交
f38bf0a2b9
共有 1 個文件被更改,包括 7 次插入4 次删除
  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."""