mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 14:01:55 +08:00
Add comments when subclassing Any (#9732)
This commit is contained in:
@@ -6,6 +6,8 @@ from ..cmd import Command
|
||||
_Reporter: TypeAlias = Any # really docutils.utils.Reporter
|
||||
|
||||
# Only defined if docutils is installed.
|
||||
# Depends on a third-party stub. Since distutils is deprecated anyway,
|
||||
# it's easier to just suppress the "any subclassing" error.
|
||||
class SilentReporter(_Reporter):
|
||||
messages: Any
|
||||
def __init__(
|
||||
|
||||
Reference in New Issue
Block a user