bro
This commit is contained in:
1 parent
de41a02749
commit
9af09cebd3
764 files changed
+54218
-78859
No files matched your search
@@ -1,18 +1,18 @@
|
||||
from typing import Any, overload
|
||||
from typing import Any, Optional, overload, Type
|
||||
|
||||
from pygame.typing import _PathLike
|
||||
from ._common import AnyPath
|
||||
|
||||
def encode_string(
|
||||
obj: _PathLike | None,
|
||||
encoding: str | None = "unicode_escape",
|
||||
errors: str | None = "backslashreplace",
|
||||
etype: type[Exception] | None = UnicodeEncodeError,
|
||||
obj: Optional[AnyPath],
|
||||
encoding: Optional[str] = "unicode_escape",
|
||||
errors: Optional[str] = "backslashreplace",
|
||||
etype: Optional[Type[Exception]] = UnicodeEncodeError,
|
||||
) -> bytes: ...
|
||||
@overload
|
||||
def encode_file_path(
|
||||
obj: _PathLike | None, etype: type[Exception] | None = UnicodeEncodeError
|
||||
obj: Optional[AnyPath], etype: Optional[Type[Exception]] = UnicodeEncodeError
|
||||
) -> bytes: ...
|
||||
@overload
|
||||
def encode_file_path(
|
||||
obj: Any, etype: type[Exception] | None = UnicodeEncodeError
|
||||
obj: Any, etype: Optional[Type[Exception]] = UnicodeEncodeError
|
||||
) -> bytes: ...
|
||||
Reference in new issue
Block a user