summaryrefslogtreecommitdiffstats
path: root/Doc/library/tkinter.rst
diff options
context:
space:
mode:
authorWei-Hsiang (Matt) Wang <mattwang44@gmail.com>2024-09-01 04:59:42 (GMT)
committerGitHub <noreply@github.com>2024-09-01 04:59:42 (GMT)
commitcf472577e24911cb70b619304c0108c7fba97cac (patch)
tree03690b3afa9e2db7fb3207fe7ebb1473f2344ca5 /Doc/library/tkinter.rst
parent34ddb64d088dd7ccc321f6103d23153256caa5d4 (diff)
downloadcpython-cf472577e24911cb70b619304c0108c7fba97cac.zip
cpython-cf472577e24911cb70b619304c0108c7fba97cac.tar.gz
cpython-cf472577e24911cb70b619304c0108c7fba97cac.tar.bz2
gh-123517: Remove unnecessary ``:meth:`` parentheses (#123518)
Diffstat (limited to 'Doc/library/tkinter.rst')
-rw-r--r--Doc/library/tkinter.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/tkinter.rst b/Doc/library/tkinter.rst
index f40790c..70d4b30 100644
--- a/Doc/library/tkinter.rst
+++ b/Doc/library/tkinter.rst
@@ -983,10 +983,10 @@ option (other options are available as well).
Added the :class:`!PhotoImage` method :meth:`!copy_replace` to copy a region
from one image to other image, possibly with pixel zooming and/or
subsampling.
- Add *from_coords* parameter to :class:`!PhotoImage` methods :meth:`!copy()`,
- :meth:`!zoom()` and :meth:`!subsample()`.
+ Add *from_coords* parameter to :class:`!PhotoImage` methods :meth:`!copy`,
+ :meth:`!zoom` and :meth:`!subsample`.
Add *zoom* and *subsample* parameters to :class:`!PhotoImage` method
- :meth:`!copy()`.
+ :meth:`!copy`.
The image object can then be used wherever an ``image`` option is supported by
some widget (e.g. labels, buttons, menus). In these cases, Tk will not keep a