summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/curses.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/curses.rst b/Doc/library/curses.rst
index c424148..2d0043c 100644
--- a/Doc/library/curses.rst
+++ b/Doc/library/curses.rst
@@ -837,7 +837,7 @@ the following methods and attributes:
.. attribute:: window.encoding
Encoding used to encode method arguments (Unicode strings and characters).
- The encoding attribute is inherited from by parent window when a subwindow
+ The encoding attribute is inherited from the parent window when a subwindow
is created, for example with :meth:`window.subwin`. By default, the locale
encoding is used (see :func:`locale.getpreferredencoding`).