[ python-Bugs-1219862 ] misdocumented argument range for curses.pair_content

SourceForge.net noreply at sourceforge.net
Mon Jun 13 20:25:29 CEST 2005


Bugs item #1219862, was opened at 2005-06-13 14:25
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1219862&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: dcrosta (dcrosta)
Assigned to: Nobody/Anonymous (nobody)
Summary: misdocumented argument range for curses.pair_content

Initial Comment:
The documentation for 2.3.5 and 2.4.1 say that the
curses module function pair_content take an argument
between 0 and COLOR_PAIRS - 1. The underlying curses
library function requires an argument between 1 and
COLOR_PAIRS -1, inclusive, and giving the value 0
raises a _curses.error (as it should) in python.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1219862&group_id=5470


More information about the Python-bugs-list mailing list