mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Always use TypeAlias when assigning to Any (#8021)
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
from typing import Any
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
from ..cmd import Command
|
||||
|
||||
_Reporter = Any # really docutils.utils.Reporter
|
||||
_Reporter: TypeAlias = Any # really docutils.utils.Reporter
|
||||
|
||||
# Only defined if docutils is installed.
|
||||
class SilentReporter(_Reporter):
|
||||
|
||||
Reference in New Issue
Block a user