mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Change "NoneType" to "None". Add missing imports.
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
# for a more percise manual annotation of this module.
|
||||
# Feel free to edit the source below, but remove this header when you do.
|
||||
|
||||
from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
|
||||
def ascii_decode(a, *args, **kwargs) -> tuple: pass
|
||||
|
||||
def ascii_encode(a, *args, **kwargs) -> tuple: pass
|
||||
@@ -37,9 +39,9 @@ def raw_unicode_escape_encode(a, *args, **kwargs) -> tuple: pass
|
||||
|
||||
def readbuffer_encode(a, *args, **kwargs) -> tuple: pass
|
||||
|
||||
def register(*args, **kwargs) -> NoneType: pass
|
||||
def register(*args, **kwargs) -> None: pass
|
||||
|
||||
def register_error(a: str, b) -> NoneType: pass
|
||||
def register_error(a: str, b) -> None: pass
|
||||
|
||||
def unicode_escape_decode(a, *args, **kwargs) -> tuple: pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user