Greg> wouldn't you also have to specify the name of the C Greg> identifier into which that documentation is put? I think the intent is to declare the __doc__ variables using DOCSTRING: static char int_doc[] = DOCSTRING("int(x[, base]) -> integer\n\ \n\ Convert a string or number to an integer, if possible. A floating point\n\ argument will be truncated towards zero (this does not include a string\n\ representation of a floating point number!) When converting a string, use\n\ the optional base. It is an error to supply a base when converting a\n\ non-string."); Note that if implemented, the DOCSTRING macro will need a Py_ prefix. -- Skip Montanaro (skip@pobox.com) http://www.mojam.com/ http://www.musi-cal.com/
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