We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d50a3b commit e04a795Copy full SHA for e04a795
1 file changed
src/ducktools/classbuilder/__init__.pyi
@@ -47,7 +47,7 @@ def build_completed(cls: type) -> bool: ...
47
def _get_inst_fields(inst: typing.Any) -> dict[str, typing.Any]: ...
48
49
class _NothingType:
50
- def __init__(self, custom: str | None = ...) -> None: ...
+ def __new__(cls, custom: str | None = ...) -> typing.Self: ...
51
def __repr__(self) -> str: ...
52
NOTHING: _NothingType
53
FIELD_NOTHING: _NothingType
0 commit comments