mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-09 13:02:22 +08:00
Third-party stubs: enforce CamelCase for type alias names (#8256)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
@@ -3,7 +3,6 @@ from _typeshed import Self
|
||||
from collections.abc import Callable, Iterable, Iterator
|
||||
from contextlib import AbstractContextManager
|
||||
from typing import Any
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
from ._common import (
|
||||
AIX as AIX,
|
||||
@@ -109,8 +108,8 @@ elif sys.platform == "darwin":
|
||||
elif sys.platform == "win32":
|
||||
from ._pswindows import pfullmem, pmem
|
||||
else:
|
||||
pmem: TypeAlias = Any
|
||||
pfullmem: TypeAlias = Any
|
||||
class pmem(Any): ...
|
||||
class pfullmem(Any): ...
|
||||
|
||||
if sys.platform == "linux":
|
||||
PROCFS_PATH: str
|
||||
|
||||
Reference in New Issue
Block a user