mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Use PEP 604 syntax wherever possible (#7493)
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
from typing import Union
|
||||
|
||||
_DataType = Union[str, unicode, bytearray, buffer, memoryview]
|
||||
_DataType = str | unicode | bytearray | buffer | memoryview
|
||||
|
||||
class _hash(object): # This is not actually in the module namespace.
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user