summaryrefslogtreecommitdiff
path: root/Doc/c-api/code.rst
AgeCommit message (Collapse)AuthorLines
2016-06-02[Issue 15476] Make "code object" its own entry in the indexTommy Beadle-4/+2
2015-10-10Issue #25161: Add full stops in documentation; patch by Takase ArihiroMartin Panter-1/+1
2012-01-14update to new C roles and directivesSandro Tosi-9/+9
2009-05-08PyCode_NewEmpty:Jeffrey Yasskin-0/+50
Most uses of PyCode_New found by http://www.google.com/codesearch?q=PyCode_New are trying to build an empty code object, usually to put it in a dummy frame object. This patch adds a PyCode_NewEmpty wrapper which lets the user specify just the filename, function name, and first line number, instead of also requiring lots of code internals.