mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-17 19:41:25 +08:00
Add abstract methods to BaseTzInfo (#6579)
While these abstract methods don't exist at runtime, all sub-classes of BaseTzInfo implement them. It can be useful to annotate variables with BaseTzInfo and being able to call these methods on it.
This commit is contained in:
1 parent
f3026dc3ab
commit
968fd6d01d
2 files changed
+18
No files matched your search
@@ -0,0 +1,5 @@
|
||||
# "Abstract" methods, see the .pyi file for more details.
|
||||
pytz.BaseTzInfo.localize
|
||||
pytz.BaseTzInfo.normalize
|
||||
pytz.tzinfo.BaseTzInfo.localize
|
||||
pytz.tzinfo.BaseTzInfo.normalize
|
||||
Reference in new issue
Block a user