mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-04-26 16:50:25 +08:00
stubs for uu
This commit is contained in:
committed by
Łukasz Langa
parent
e30f8f59ae
commit
7ceee447f0
@@ -0,0 +1,10 @@
|
||||
# Stubs for uu (Python 2 and 3)
|
||||
|
||||
from typing import BinaryIO, Union, Optional, Text
|
||||
|
||||
_File = Union[Text, BinaryIO]
|
||||
|
||||
class Error(Exception): ...
|
||||
|
||||
def encode(in_file: _File, out_file: _File, name: Optional[str] = ..., mode: Optional[int] = ...) -> None: ...
|
||||
def decode(in_file: _File, out_file: Optional[_File] = ..., mode: Optional[int] = ..., quiet: int = ...) -> None: ...
|
||||
Reference in New Issue
Block a user