mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
Big diff: Use new "|" union syntax (#5872)
This commit is contained in:
@@ -32,9 +32,9 @@ from posixpath import (
|
||||
splitext as splitext,
|
||||
supports_unicode_filenames as supports_unicode_filenames,
|
||||
)
|
||||
from typing import AnyStr, Optional, Tuple, overload
|
||||
from typing import AnyStr, Tuple, overload
|
||||
|
||||
altsep: Optional[str]
|
||||
altsep: str | None
|
||||
|
||||
@overload
|
||||
def basename(s: PathLike[AnyStr]) -> AnyStr: ...
|
||||
|
||||
Reference in New Issue
Block a user