Update pydoc for 3.12 (#10467)

This commit is contained in:
Nikita Sobolev
2023-07-16 13:28:56 +03:00
committed by GitHub
parent 47fc836259
commit 57c435cd7e
2 changed files with 2 additions and 2 deletions

View File

@@ -61,6 +61,7 @@ class Doc:
def getdocloc(self, object: object, basedir: str = ...) -> str | None: ...
class HTMLRepr(Repr):
def __init__(self) -> None: ...
def escape(self, text: str) -> str: ...
def repr(self, object: object) -> str: ...
def repr1(self, x: object, level: complex) -> str: ...
@@ -148,6 +149,7 @@ class HTMLDoc(Doc):
def filelink(self, url: str, path: str) -> str: ...
class TextRepr(Repr):
def __init__(self) -> None: ...
def repr1(self, x: object, level: complex) -> str: ...
def repr_string(self, x: str, level: complex) -> str: ...
def repr_str(self, x: str, level: complex) -> str: ...

View File

@@ -72,8 +72,6 @@ poplib.POP3_SSL.__init__
posixpath.__all__
posixpath.isjunction
posixpath.splitroot
pydoc.HTMLRepr.__init__
pydoc.TextRepr.__init__
smtplib.SMTP.starttls
smtplib.SMTP_SSL.__init__
sqlite3.Connection.autocommit