summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-02-07 15:26:59 (GMT)
committerGuido van Rossum <guido@python.org>1995-02-07 15:26:59 (GMT)
commit9e89f0a5b3e8bb3d907b435b6b562f2a113b03b3 (patch)
treee51ec23a8c51bea96f9fec59d6491a0f6630325a /Include
parenteb8b0d20c116766cb5a1aae275177c02526c5fd4 (diff)
downloadcpython-9e89f0a5b3e8bb3d907b435b6b562f2a113b03b3.zip
cpython-9e89f0a5b3e8bb3d907b435b6b562f2a113b03b3.tar.gz
cpython-9e89f0a5b3e8bb3d907b435b6b562f2a113b03b3.tar.bz2
added callable, removed run_pyc_file
Diffstat (limited to 'Include')
-rw-r--r--Include/pythonrun.h1
-rw-r--r--Include/rename2.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/Include/pythonrun.h b/Include/pythonrun.h
index 837d2f5..f245367 100644
--- a/Include/pythonrun.h
+++ b/Include/pythonrun.h
@@ -44,7 +44,6 @@ struct _node *PyParser_SimpleParseFile Py_PROTO((FILE *, char *, int));
PyObject *PyRun_String Py_PROTO((char *, int, PyObject *, PyObject *));
PyObject *PyRun_File Py_PROTO((FILE *, char *, int, PyObject *, PyObject *));
-PyObject *run_pyc_file Py_PROTO((FILE *, char *, PyObject *, PyObject *));
PyObject *Py_CompileString Py_PROTO((char *, char *, int));
diff --git a/Include/rename2.h b/Include/rename2.h
index e648a62..4d9e2ab 100644
--- a/Include/rename2.h
+++ b/Include/rename2.h
@@ -152,6 +152,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define RET_SAVE Py_BLOCK_THREADS
#define RES_SAVE Py_UNBLOCK_THREADS
#define END_SAVE Py_END_ALLOW_THREADS
+#define callable PyCallable_Check
#define is_floatobject PyFloat_Check
#define is_intobject PyInt_Check
#define is_longobject PyLong_Check