Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9e89f0a

Browse files
committed
added callable, removed run_pyc_file
1 parent eb8b0d2 commit 9e89f0a

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

Include/pythonrun.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ struct _node *PyParser_SimpleParseFile Py_PROTO((FILE *, char *, int));
4444

4545
PyObject *PyRun_String Py_PROTO((char *, int, PyObject *, PyObject *));
4646
PyObject *PyRun_File Py_PROTO((FILE *, char *, int, PyObject *, PyObject *));
47-
PyObject *run_pyc_file Py_PROTO((FILE *, char *, PyObject *, PyObject *));
4847

4948
PyObject *Py_CompileString Py_PROTO((char *, char *, int));
5049

Include/rename2.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
152152
#define RET_SAVE Py_BLOCK_THREADS
153153
#define RES_SAVE Py_UNBLOCK_THREADS
154154
#define END_SAVE Py_END_ALLOW_THREADS
155+
#define callable PyCallable_Check
155156
#define is_floatobject PyFloat_Check
156157
#define is_intobject PyInt_Check
157158
#define is_longobject PyLong_Check

0 commit comments

Comments
 (0)