Remove duplicate definitions in sub-classes (#8594)

This commit is contained in:
Nikita Sobolev
2022-08-26 18:10:55 +03:00
committed by GitHub
parent d91e5f0eff
commit 0259068ad6
36 changed files with 25 additions and 235 deletions

View File

@@ -60,11 +60,6 @@ class Doc:
def getdocloc(self, object: object, basedir: str = ...) -> str | None: ...
class HTMLRepr(Repr):
maxlist: int
maxtuple: int
maxdict: int
maxstring: int
maxother: int
def __init__(self) -> None: ...
def escape(self, text: str) -> str: ...
def repr(self, object: object) -> str: ...
@@ -153,11 +148,6 @@ class HTMLDoc(Doc):
def filelink(self, url: str, path: str) -> str: ...
class TextRepr(Repr):
maxlist: int
maxtuple: int
maxdict: int
maxstring: int
maxother: int
def __init__(self) -> None: ...
def repr1(self, x: object, level: complex) -> str: ...
def repr_string(self, x: str, level: complex) -> str: ...