From: Ross Lagerwall Date: Thu, 6 Sep 2012 16:58:43 +0000 (+0200) Subject: Fix a typo in the curses docs X-Git-Tag: v3.3.1rc1~818^2^2~135 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ce66a3e36fc0405cc2c751df4b5ecdd49ec37013;p=python Fix a typo in the curses docs --- diff --git a/Doc/library/curses.rst b/Doc/library/curses.rst index c4241483b5..2d0043cbd1 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`).