[pypy-svn] r74000 - pypy/branch/cpython-extension/pypy/module/cpyext/include

afa at codespeak.net afa at codespeak.net
Fri Apr 23 00:32:09 CEST 2010


Author: afa
Date: Fri Apr 23 00:32:07 2010
New Revision: 74000

Modified:
   pypy/branch/cpython-extension/pypy/module/cpyext/include/object.h
Log:
The Py_PRINT_RAW constant, used when calling PyObject_Print


Modified: pypy/branch/cpython-extension/pypy/module/cpyext/include/object.h
==============================================================================
--- pypy/branch/cpython-extension/pypy/module/cpyext/include/object.h	(original)
+++ pypy/branch/cpython-extension/pypy/module/cpyext/include/object.h	Fri Apr 23 00:32:07 2010
@@ -300,8 +300,11 @@
 
 } PyTypeObject;
 
+/* Flag bits for printing: */
+#define Py_PRINT_RAW	1	/* No string quotes etc. */
+
 /*
-`Type flags (tp_flags)
+Type flags (tp_flags)
 
 These flags are used to extend the type structure in a backwards-compatible
 fashion. Extensions can use the flags to indicate (and test) when a given



More information about the Pypy-commit mailing list