From ce66a3e36fc0405cc2c751df4b5ecdd49ec37013 Mon Sep 17 00:00:00 2001 From: Ross Lagerwall Date: Thu, 6 Sep 2012 18:58:43 +0200 Subject: Fix a typo in the curses docs --- Doc/library/curses.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`). -- cgit v0.12