Skip to content

Commit f3fa016

Browse files
authored
Add TzInfo.__new__ stub method (#1611)
1 parent 1defe62 commit f3fa016

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

python/pydantic_core/_pydantic_core.pyi

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -993,7 +993,9 @@ def list_all_errors() -> list[ErrorTypeInfo]:
993993
"""
994994
@final
995995
class TzInfo(datetime.tzinfo):
996-
"""An `pydantic-core` implementation of the abstract [`datetime.tzinfo`] class."""
996+
"""An `pydantic-core` implementation of the abstract [`datetime.tzinfo`][] class."""
997+
998+
# def __new__(cls, seconds: float) -> Self: ...
997999

9981000
# Docstrings for attributes sourced from the abstract base class, [`datetime.tzinfo`](https://docs.python.org/3/library/datetime.html#datetime.tzinfo).
9991001

0 commit comments

Comments
 (0)