mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-24 03:51:52 +08:00
Use PEP 585 syntax in Python 2, protobuf & _ast stubs, where possible (#6949)
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
from typing import Any, Text, Tuple
|
||||
from typing import Any, Text
|
||||
|
||||
# Because UUID has properties called int and bytes we need to rename these temporarily.
|
||||
_Int = int
|
||||
_Bytes = bytes
|
||||
_FieldsType = Tuple[int, int, int, int, int, int]
|
||||
_FieldsType = tuple[int, int, int, int, int, int]
|
||||
|
||||
class UUID:
|
||||
def __init__(
|
||||
|
||||
Reference in New Issue
Block a user