mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-01 23:55:26 +08:00
Change "NoneType" to "None". Add missing imports.
This commit is contained in:
@@ -3,8 +3,10 @@
|
||||
# for a more percise manual annotation of this module.
|
||||
# Feel free to edit the source below, but remove this header when you do.
|
||||
|
||||
def _filters_mutated() -> NoneType: pass
|
||||
from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
|
||||
def warn(message, *args, **kwargs) -> NoneType: pass
|
||||
def _filters_mutated() -> None: pass
|
||||
|
||||
def warn_explicit(message, category, filename: str, lineno: int, *args, **kwargs) -> NoneType: pass
|
||||
def warn(message, *args, **kwargs) -> None: pass
|
||||
|
||||
def warn_explicit(message, category, filename: str, lineno: int, *args, **kwargs) -> None: pass
|
||||
|
||||
Reference in New Issue
Block a user