_tcl: fix bytes usage (#9010)

This commit is contained in:
Jelle Zijlstra
2022-10-28 02:07:56 -07:00
committed by GitHub
parent cb90e9d3a5
commit f792b14e7f

View File

@@ -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): ...