mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-15 16:27:08 +08:00
use '-> Any' instead of '-> object'
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
# for a more precise 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
def encode_basestring_ascii(*args, **kwargs) -> object:
|
||||
def encode_basestring_ascii(*args, **kwargs) -> Any:
|
||||
raise TypeError()
|
||||
|
||||
def scanstring(a, b: int, *args, **kwargs) -> tuple:
|
||||
|
||||
Reference in New Issue
Block a user