Skip to content

Commit f43dcc3

Browse files
eliothedemansbinet
authored andcommitted
docs
1 parent 1c5e6d5 commit f43dcc3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

otherobjects.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,9 @@ func PyCallIter_New(callable, sentinel *PyObject) *PyObject {
592592
return togo(C.PyCallIter_New(topy(callable), topy(sentinel)))
593593
}
594594

595+
// PyObject* PyCode_NewEmpty(char *filename, char *funcname, int firstlineno)
596+
// Return value: New reference.
597+
// Return an empty CodePythonObject that corosponds to the file name, func name and line number in the source file it points to.
595598
func PyCode_NewEmpty(filename string, funcname string, firstlineno int) *PyObject {
596599
return togo((*C.PyObject)(unsafe.Pointer(C.PyCode_NewEmpty(C.CString(filename), C.CString(funcname), C.int(firstlineno)))))
597600
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy