Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion stdlib/@tests/stubtest_allowlists/py315.txt
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,11 @@ profiling.sampling.module_utils
profiling.sampling.opcode_utils
profiling.sampling.sample

# These conflicting aliases are just like tkinter.*.slaves in common.txt.
# These aliases are just like the aliases named "slaves" instead of "content".
# See common.txt.
tkinter.Grid.content
tkinter.Grid.grid_content
tkinter.Pack.content
tkinter.Pack.pack_content
tkinter.Place.content
tkinter.Place.place_content
6 changes: 0 additions & 6 deletions stdlib/tkinter/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -1112,8 +1112,6 @@ class Pack:
) -> None: ...
def pack_forget(self) -> None: ...
def pack_info(self) -> _PackInfo: ... # errors if widget hasn't been packed
if sys.version_info >= (3, 15):
def pack_content(self) -> list[Widget]: ...
pack = pack_configure
forget = pack_forget
propagate = Misc.pack_propagate
Expand Down Expand Up @@ -1152,8 +1150,6 @@ class Place:
) -> None: ...
def place_forget(self) -> None: ...
def place_info(self) -> _PlaceInfo: ...
if sys.version_info >= (3, 15):
def place_content(self) -> list[Widget]: ...
place = place_configure
info = place_info

Expand Down Expand Up @@ -1191,8 +1187,6 @@ class Grid:
def grid_forget(self) -> None: ...
def grid_remove(self) -> None: ...
def grid_info(self) -> _GridInfo: ...
if sys.version_info >= (3, 15):
def grid_content(self, row: int | None = None, column: int | None = None) -> list[Widget]: ...
grid = grid_configure
location = Misc.grid_location
size = Misc.grid_size
Expand Down
Loading