Skip to content

Commit

Permalink
More direct compat types
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam committed Jan 1, 2023
1 parent ade1913 commit cac4f6b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion stubs/pyasn1/pyasn1/compat/dateandtime.pyi
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
def strptime(text, dateFormat): ...
from datetime import datetime

strptime = datetime.strptime
3 changes: 2 additions & 1 deletion stubs/pyasn1/pyasn1/compat/string.pyi
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
def partition(string, sep): ...
# Same as string.partition(sep)
def partition(string: str, sep: str) -> tuple[str, str, str]: ...

0 comments on commit cac4f6b

Please sign in to comment.