Skip to content

Commit

Permalink
Update pydoc for 3.12 (#10467)
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn authored Jul 16, 2023
1 parent 47fc836 commit 57c435c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions stdlib/pydoc.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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: ...
Expand Down Expand Up @@ -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: ...
Expand Down
2 changes: 0 additions & 2 deletions tests/stubtest_allowlists/py312.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 57c435c

Please sign in to comment.