mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-25 20:36:44 +08:00
Move Crypto to 2and3 and generate rest of stubs. (#782)
I implemented strong types for Crypto.Cipher
This commit is contained in:
committed by
Łukasz Langa
parent
7e89fc0d49
commit
89da3a4159
9
out/Crypto/Util/Counter.pyi
Normal file
9
out/Crypto/Util/Counter.pyi
Normal file
@@ -0,0 +1,9 @@
|
||||
# Stubs for Crypto.Util.Counter (Python 3.5)
|
||||
#
|
||||
# NOTE: This dynamically typed stub was automatically generated by stubgen.
|
||||
|
||||
from typing import Any
|
||||
from Crypto.Util.py21compat import *
|
||||
from Crypto.Util.py3compat import *
|
||||
|
||||
def new(nbits, prefix: Any = ..., suffix: Any = ..., initial_value: int = ..., overflow: int = ..., little_endian: bool = ..., allow_wraparound: bool = ..., disable_shortcut: bool = ...): ...
|
||||
10
out/Crypto/Util/__init__.pyi
Normal file
10
out/Crypto/Util/__init__.pyi
Normal file
@@ -0,0 +1,10 @@
|
||||
# Stubs for Crypto.Util (Python 3.5)
|
||||
#
|
||||
# NOTE: This dynamically typed stub was automatically generated by stubgen.
|
||||
|
||||
# Names in __all__ with no definition:
|
||||
# RFC1751
|
||||
# asn1
|
||||
# number
|
||||
# randpool
|
||||
# strxor
|
||||
11
out/Crypto/Util/py3compat.pyi
Normal file
11
out/Crypto/Util/py3compat.pyi
Normal file
@@ -0,0 +1,11 @@
|
||||
# Stubs for Crypto.Util.py3compat (Python 3.5)
|
||||
#
|
||||
# NOTE: This dynamically typed stub was automatically generated by stubgen.
|
||||
|
||||
__revision__ = ... # type: str
|
||||
|
||||
def b(s): ...
|
||||
def bchr(s): ...
|
||||
def bstr(s): ...
|
||||
def bord(s): ...
|
||||
def tobytes(s): ...
|
||||
Reference in New Issue
Block a user