A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2005-September/347306.html below:

PyBool_FromLong

PyBool_FromLong PyBool_FromLongReinhold Birkenfeld reinhold-birkenfeld-nospam at wolke7.net
Sat Sep 3 03:27:45 EDT 2005
Michael Hoffman wrote:
> Andrew MacKeith wrote:
>> In the C API Docs, the signature of PyBool from long seems to be incorrect.
>> 
>> int PyBool_FromLong(long v)
>>     Returns Py_True or Py_False depending on the truth value of v. New 
>> in version 2.3.
>> 
>> The description would suggest:
>> 
>> PyObject* PyBool_FromLong(long v)
> 
> That's in the source too (dist/src/Objects/boolobject.c, 
> dist/src/Include/boolobject.h). Want to submit a documentation bug?

Not necessary. I just fixed it.

Reinhold

More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4