[New-bugs-announce] [issue15852] typos in curses argument error messages

Chris Jerdonek report at bugs.python.org
Sun Sep 2 23:41:42 CEST 2012


New submission from Chris Jerdonek:

It seems like a couple error messages in the curses module need correcting:

PyErr_SetString(PyExc_TypeError, "insch requires 1 or 4 arguments");

http://hg.python.org/cpython/file/8ff2f4634ed8/Modules/_cursesmodule.c#l1322

PyErr_SetString(PyExc_TypeError, "instr requires 0 or 3 arguments");

http://hg.python.org/cpython/file/8ff2f4634ed8/Modules/_cursesmodule.c#l1385

In both cases, "or" should be "to".

----------
components: Library (Lib)
keywords: easy
messages: 169725
nosy: cjerdonek
priority: normal
severity: normal
stage: test needed
status: open
title: typos in curses argument error messages
type: behavior
versions: Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15852>
_______________________________________


More information about the New-bugs-announce mailing list