[Python-checkins] python/dist/src/Doc/lib libcurses.tex, 1.42.8.2, 1.42.8.3

akuchling at users.sourceforge.net akuchling at users.sourceforge.net
Fri Oct 8 20:56:42 CEST 2004


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14234

Modified Files:
      Tag: release23-maint
	libcurses.tex 
Log Message:
[Bug #1022311] curses module uses y,x ordering of arguments, not x,y

Index: libcurses.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libcurses.tex,v
retrieving revision 1.42.8.2
retrieving revision 1.42.8.3
diff -u -d -r1.42.8.2 -r1.42.8.3
--- libcurses.tex	7 Dec 2003 13:05:15 -0000	1.42.8.2
+++ libcurses.tex	8 Oct 2004 18:56:40 -0000	1.42.8.3
@@ -661,7 +661,7 @@
 to reflect the current cursor position of the window.
 \end{methoddesc}
 
-\begin{methoddesc}[window]{delch}{\optional{x, y}}
+\begin{methoddesc}[window]{delch}{\optional{y, x}}
 Delete any character at \code{(\var{y}, \var{x})}.
 \end{methoddesc}
 
@@ -699,14 +699,14 @@
 corner.
 \end{methoddesc}
 
-\begin{methoddesc}[window]{getch}{\optional{x, y}}
+\begin{methoddesc}[window]{getch}{\optional{y, x}}
 Get a character. Note that the integer returned does \emph{not} have to
 be in \ASCII{} range: function keys, keypad keys and so on return numbers
 higher than 256. In no-delay mode, -1 is returned if there is 
 no input.
 \end{methoddesc}
 
-\begin{methoddesc}[window]{getkey}{\optional{x, y}}
+\begin{methoddesc}[window]{getkey}{\optional{y, x}}
 Get a character, returning a string instead of an integer, as
 \method{getch()} does. Function keys, keypad keys and so on return a
 multibyte string containing the key name.  In no-delay mode, an
@@ -724,7 +724,7 @@
 \code{-1,-1} if this window has no parent.
 \end{methoddesc}
 
-\begin{methoddesc}[window]{getstr}{\optional{x, y}}
+\begin{methoddesc}[window]{getstr}{\optional{y, x}}
 Read a string from the user, with primitive line editing capacity.
 \end{methoddesc}
 
@@ -760,7 +760,7 @@
 wrefresh.  This option is disabled by default.
 \end{methoddesc}
 
-\begin{methoddesc}[window]{inch}{\optional{x, y}}
+\begin{methoddesc}[window]{inch}{\optional{y, x}}
 Return the character at the given position in the window. The bottom
 8 bits are the character proper, and upper bits are the attributes.
 \end{methoddesc}



More information about the Python-checkins mailing list