mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 14:01:55 +08:00
[pytz] Add BaseTzInfo private attributes (#10733)
This commit is contained in:
@@ -3,6 +3,8 @@ from abc import abstractmethod
|
||||
from typing import Any, overload
|
||||
|
||||
class BaseTzInfo(datetime.tzinfo):
|
||||
_utcoffset: datetime.timedelta | None
|
||||
_tzname: str | None
|
||||
zone: str | None # Actually None but should be set on concrete subclasses
|
||||
# The following abstract methods don't exist in the implementation, but
|
||||
# are implemented by all sub-classes.
|
||||
|
||||
Reference in New Issue
Block a user