diff options
author | Michael W. Hudson <mwh@python.net> | 2004-02-12 15:28:27 +0000 |
---|---|---|
committer | Michael W. Hudson <mwh@python.net> | 2004-02-12 15:28:27 +0000 |
commit | ecfeb7f095dfd9c1c8929bf3df858ee35e0d9e9e (patch) | |
tree | 8f5dc5c69fda4c64aff520d38626f8640fc1dfdc /Include/compile.h | |
parent | fix minor markup error: \code{for} --> \keyword{for} (diff) | |
download | cpython-ecfeb7f095dfd9c1c8929bf3df858ee35e0d9e9e.tar.gz cpython-ecfeb7f095dfd9c1c8929bf3df858ee35e0d9e9e.tar.bz2 cpython-ecfeb7f095dfd9c1c8929bf3df858ee35e0d9e9e.zip |
This is my patch #876198 plus a NEWS entry and a header frob.
Remove the ability to use (from C) arbitrary objects supporting the
read buffer interface as the co_code member of code objects.
Diffstat (limited to 'Include/compile.h')
-rw-r--r-- | Include/compile.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Include/compile.h b/Include/compile.h index 594d7df7a3a..82bf70862e6 100644 --- a/Include/compile.h +++ b/Include/compile.h @@ -81,11 +81,6 @@ PyAPI_FUNC(PyCodeObject *) PyNode_CompileFlags(struct _node *, const char *, #define FUTURE_GENERATORS "generators" #define FUTURE_DIVISION "division" -/* for internal use only */ -#define _PyCode_GETCODEPTR(co, pp) \ - ((*(co)->co_code->ob_type->tp_as_buffer->bf_getreadbuffer) \ - ((co)->co_code, 0, (void **)(pp))) - #ifdef __cplusplus } #endif |