A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2005-August/055235.html below:

[Python-Dev] PyTuple_Pack added references undocumented

[Python-Dev] PyTuple_Pack added references undocumented [Python-Dev] PyTuple_Pack added references undocumentedRaymond Hettinger raymond.hettinger at verizon.net
Mon Aug 8 04:49:41 CEST 2005
> According to the source code, PyTuple_Pack returns a new reference (it
> calls PyTuple_New). It also Py_INCREF's all the objects in the new
> tuple. Is this unusual behavior? 

No.  That is how containers work.  Look at PyBuild_Value() for
comparison.  



> None of these added references are documented in the API Reference
Manual.

The docs seem clear to me.  If the docs don't meet your needs, submit a
patch.

More information about the Python-Dev 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