Skip to content

Commit e04a795

Browse files
committed
stub fix
1 parent 4d50a3b commit e04a795

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ducktools/classbuilder/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def build_completed(cls: type) -> bool: ...
4747
def _get_inst_fields(inst: typing.Any) -> dict[str, typing.Any]: ...
4848

4949
class _NothingType:
50-
def __init__(self, custom: str | None = ...) -> None: ...
50+
def __new__(cls, custom: str | None = ...) -> typing.Self: ...
5151
def __repr__(self) -> str: ...
5252
NOTHING: _NothingType
5353
FIELD_NOTHING: _NothingType

0 commit comments

Comments
 (0)