mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-03 16:33:49 +08:00
Update explanation for importing builtins.str (#5465)
This commit is contained in:
1 parent
841a365284
commit
4a3b6eb8d8
1 file changed
+3
@@ -1,4 +1,7 @@
|
||||
import sys
|
||||
|
||||
# This module defines a function "str()", which is why "str" can't be used
|
||||
# as a type annotation or type alias.
|
||||
from builtins import str as _str
|
||||
from decimal import Decimal
|
||||
from typing import Any, Callable, Dict, Iterable, List, Mapping, Optional, Sequence, Tuple, Union
|
||||
|
||||
Reference in new issue
Block a user