mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
_tcl: fix bytes usage (#9010)
This commit is contained in:
@@ -17,8 +17,10 @@ from typing_extensions import Literal, final
|
||||
# (<textindex object: '1.0'>, <textindex object: '2.0'>)
|
||||
@final
|
||||
class Tcl_Obj:
|
||||
string: str | bytes
|
||||
typename: str
|
||||
@property
|
||||
def string(self) -> str: ...
|
||||
@property
|
||||
def typename(self) -> str: ...
|
||||
__hash__: ClassVar[None] # type: ignore[assignment]
|
||||
def __eq__(self, __other): ...
|
||||
def __ge__(self, __other): ...
|
||||
|
||||
Reference in New Issue
Block a user