Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
This is a part of Tcl, not Tk.
  • Loading branch information
serhiy-storchaka committed Jun 24, 2024
commit 0917d8b6ec3a1a613ecc16057a8ba6ac3a9ea1ec
6 changes: 3 additions & 3 deletions Lib/tkinter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ def trace_variable(self, mode, callback):
"""
import warnings
warnings.warn(
"trace_variable() is deprecated and not supported with Tk 9, "
"trace_variable() is deprecated and not supported with Tcl 9, "
"use trace_add() instead",
DeprecationWarning, stacklevel=2)
cbname = self._register(callback)
Expand All @@ -523,7 +523,7 @@ def trace_vdelete(self, mode, cbname):
"""
import warnings
warnings.warn(
"trace_vdelete() is deprecated and not supported with Tk 9, "
"trace_vdelete() is deprecated and not supported with Tcl 9, "
"use trace_remove() instead",
DeprecationWarning, stacklevel=2)
self._tk.call("trace", "vdelete", self._name, mode, cbname)
Expand All @@ -546,7 +546,7 @@ def trace_vinfo(self):
"""
import warnings
warnings.warn(
"trace_vinfo() is deprecated and not supported with Tk 9, "
"trace_vinfo() is deprecated and not supported with Tcl 9, "
"use trace_info() instead",
DeprecationWarning, stacklevel=2)
return [self._tk.splitlist(x) for x in self._tk.splitlist(
Expand Down