mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-11 15:49:12 +08:00
Remove unnecessary ellipsis expressions (#9976)
Ignore flake8 F821 warnings in stub files
This commit is contained in:
1 parent
8df767f163
commit
027460f11a
29 files changed
+287
-294
No files matched your search
+2
-2
@@ -70,7 +70,7 @@ class HTMLRepr(Repr):
|
||||
def repr_unicode(self, x: AnyStr, level: complex) -> str: ...
|
||||
|
||||
class HTMLDoc(Doc):
|
||||
_repr_instance: HTMLRepr = ...
|
||||
_repr_instance: HTMLRepr
|
||||
repr = _repr_instance.repr
|
||||
escape = _repr_instance.escape
|
||||
def page(self, title: str, contents: str) -> str: ...
|
||||
@@ -154,7 +154,7 @@ class TextRepr(Repr):
|
||||
def repr_instance(self, x: object, level: complex) -> str: ...
|
||||
|
||||
class TextDoc(Doc):
|
||||
_repr_instance: TextRepr = ...
|
||||
_repr_instance: TextRepr
|
||||
repr = _repr_instance.repr
|
||||
def bold(self, text: str) -> str: ...
|
||||
def indent(self, text: str, prefix: str = " ") -> str: ...
|
||||
|
||||
Reference in new issue
Block a user