修复了大量存在的问题,增加了假鸭子类型等等机制
This commit is contained in:
35
Test/ForAndLoopTest/temp/9163064cf3eb88f4.pyi
Normal file
35
Test/ForAndLoopTest/temp/9163064cf3eb88f4.pyi
Normal file
@@ -0,0 +1,35 @@
|
||||
"""
|
||||
Auto-generated Python stub file from _fakeduck.py
|
||||
Module: _fakeduck
|
||||
"""
|
||||
|
||||
import c
|
||||
|
||||
|
||||
import t
|
||||
import mbuddy
|
||||
import string
|
||||
|
||||
class _Type:
|
||||
def type_id(self: _Type) -> int: pass
|
||||
class _str:
|
||||
__requires__: list[str] = ['__mbuddy__']
|
||||
__data__: str
|
||||
__mbuddy__: mbuddy.MBuddy | t.CPtr
|
||||
def b(self: _str) -> int: pass
|
||||
def SELF(self: _str) -> str: pass
|
||||
def upper(self: _str) -> str: pass
|
||||
def lower(self: _str) -> str: pass
|
||||
def capitalize(self: _str) -> str: pass
|
||||
def swapcase(self: _str) -> str: pass
|
||||
def title(self: _str) -> str: pass
|
||||
def casefold(self: _str) -> str: pass
|
||||
def isupper(self: _str) -> int: pass
|
||||
def islower(self: _str) -> int: pass
|
||||
def isalpha(self: _str) -> int: pass
|
||||
def isdigit(self: _str) -> int: pass
|
||||
def isalnum(self: _str) -> int: pass
|
||||
def isspace(self: _str) -> int: pass
|
||||
def isascii(self: _str) -> int: pass
|
||||
def istitle(self: _str) -> int: pass
|
||||
def split(self: _str, delimiter: str) -> list[str]: pass
|
||||
Reference in New Issue
Block a user