mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-19 20:27:05 +08:00
quopri: unify 2 and 3, add types
This commit is contained in:
1 parent
7906059adb
commit
ee22a489d9
2 files changed
+8
-8
No files matched your search
@@ -1,8 +0,0 @@
|
||||
# Stubs for quopri (Python 2)
|
||||
#
|
||||
# NOTE: This dynamically typed stub was automatically generated by stubgen.
|
||||
|
||||
def encode(input, output, quotetabs, header=0): ...
|
||||
def encodestring(s, quotetabs=0, header=0): ...
|
||||
def decode(input, output, header=0): ...
|
||||
def decodestring(s, header=0): ...
|
||||
@@ -0,0 +1,8 @@
|
||||
# Stubs for quopri (Python 2 and 3)
|
||||
|
||||
from typing import BinaryIO
|
||||
|
||||
def encode(input: BinaryIO, output: BinaryIO, quotetabs: int, header: int = ...) -> None: ...
|
||||
def encodestring(s: bytes, quotetabs: int = ..., header: int = ...) -> bytes: ...
|
||||
def decode(input: BinaryIO, output: BinaryIO, header: int = ...) -> None: ...
|
||||
def decodestring(s: bytes, header: int = ...) -> bytes: ...
|
||||
Reference in new issue
Block a user