Skip to content

Commit

Permalink
Add x_exports to xxlimited (#10802)
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Sep 29, 2023
1 parent 7472224 commit 1ac5b7b
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 4 deletions.
2 changes: 2 additions & 0 deletions stdlib/xxlimited.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ class Str: ...
@final
class Xxo:
def demo(self) -> None: ...
if sys.version_info >= (3, 11) and sys.platform != "win32":
x_exports: int

def foo(__i: int, __j: int) -> Any: ...
def new() -> Xxo: ...
Expand Down
1 change: 0 additions & 1 deletion tests/stubtest_allowlists/darwin-py311.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
_?curses.color_pair
xxlimited.Xxo.x_exports

(dbm.gnu)?
(locale.bind_textdomain_codeset)?
Expand Down
1 change: 0 additions & 1 deletion tests/stubtest_allowlists/darwin-py312.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ _curses.window.get_wch
_posixsubprocess.fork_exec
curses.unget_wch
curses.window.get_wch
xxlimited.Xxo.x_exports

(dbm.gnu)?
(locale.bind_textdomain_codeset)?
Expand Down
1 change: 0 additions & 1 deletion tests/stubtest_allowlists/linux-py311.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
_?curses.color_pair
signal.sigtimedwait
signal.sigwaitinfo
xxlimited.Xxo.x_exports
1 change: 0 additions & 1 deletion tests/stubtest_allowlists/linux-py312.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ _?curses.color_pair
_posixsubprocess.fork_exec
signal.sigtimedwait
signal.sigwaitinfo
xxlimited.Xxo.x_exports

# Exists on some Linux builds, and is documented,
# but is unavailable in Github Actions on Linux with Python 3.12
Expand Down

0 comments on commit 1ac5b7b

Please sign in to comment.