aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-08-24 20:09:45 +0000
committerThomas Wouters <thomas@python.org>2000-08-24 20:09:45 +0000
commitdd8dbdb7172fbafb5ffab8600e620103fc19879e (patch)
treed0706f5e94cb061057f85138e8637885c9f4cb57 /Include/classobject.h
parentSupport for the in-place operations introduced by augmented assignment. Only (diff)
downloadcpython-dd8dbdb7172fbafb5ffab8600e620103fc19879e.tar.gz
cpython-dd8dbdb7172fbafb5ffab8600e620103fc19879e.tar.bz2
cpython-dd8dbdb7172fbafb5ffab8600e620103fc19879e.zip
The real suport for augmented assignment: new opcodes, new PyNumber and
PySequence methods and functions, new tokens.
Diffstat (limited to 'Include/classobject.h')
-rw-r--r--Include/classobject.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/classobject.h b/Include/classobject.h
index 2902e771e88..67416e49b29 100644
--- a/Include/classobject.h
+++ b/Include/classobject.h
@@ -73,6 +73,10 @@ extern DL_IMPORT(PyObject *) PyInstance_DoBinOp(PyObject *, PyObject *,
PyObject * (*)(PyObject *,
PyObject *));
+extern DL_IMPORT(int)
+PyInstance_HalfBinOp(PyObject *, PyObject *, char *, PyObject **,
+ PyObject * (*)(PyObject *, PyObject *), int);
+
#ifdef __cplusplus
}
#endif