diff options
author | Guido van Rossum <guido@python.org> | 1996-08-12 22:00:53 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-08-12 22:00:53 (GMT) |
commit | 0dfcf753ad75892c0ad2a68713841402183514d4 (patch) | |
tree | ae704c4e11a11f44c5efd229d78c6558d3b0b78a /Include | |
parent | aacdc9da75e31a48a90a8354f5ea29af4267a178 (diff) | |
download | cpython-0dfcf753ad75892c0ad2a68713841402183514d4.zip cpython-0dfcf753ad75892c0ad2a68713841402183514d4.tar.gz cpython-0dfcf753ad75892c0ad2a68713841402183514d4.tar.bz2 |
Disable support for access statement
Diffstat (limited to 'Include')
-rw-r--r-- | Include/accessobject.h | 6 | ||||
-rw-r--r-- | Include/graminit.h | 68 |
2 files changed, 39 insertions, 35 deletions
diff --git a/Include/accessobject.h b/Include/accessobject.h index 0ea60fc..db57457 100644 --- a/Include/accessobject.h +++ b/Include/accessobject.h @@ -28,6 +28,10 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ******************************************************************/ +/* This object type is no longer supported */ + +#ifdef SUPPORT_OBSOLETE_ACCESS + /* Access object interface */ /* Access mode bits (note similarity with UNIX permissions) */ @@ -60,6 +64,8 @@ int PyAccess_HasValue Py_PROTO((PyObject *)); extern DL_IMPORT(PyTypeObject) PyAnyNumber_Type, PyAnySequence_Type, PyAnyMapping_Type; +#endif /* !SUPPORT_OBSOLETE_ACCESS */ + #ifdef __cplusplus } #endif diff --git a/Include/graminit.h b/Include/graminit.h index 2b80776..66eacbb 100644 --- a/Include/graminit.h +++ b/Include/graminit.h @@ -21,38 +21,36 @@ #define import_stmt 276 #define dotted_name 277 #define global_stmt 278 -#define access_stmt 279 -#define accesstype 280 -#define exec_stmt 281 -#define compound_stmt 282 -#define if_stmt 283 -#define while_stmt 284 -#define for_stmt 285 -#define try_stmt 286 -#define except_clause 287 -#define suite 288 -#define test 289 -#define and_test 290 -#define not_test 291 -#define comparison 292 -#define comp_op 293 -#define expr 294 -#define xor_expr 295 -#define and_expr 296 -#define shift_expr 297 -#define arith_expr 298 -#define term 299 -#define factor 300 -#define power 301 -#define atom 302 -#define lambdef 303 -#define trailer 304 -#define subscriptlist 305 -#define subscript 306 -#define sliceop 307 -#define exprlist 308 -#define testlist 309 -#define dictmaker 310 -#define classdef 311 -#define arglist 312 -#define argument 313 +#define exec_stmt 279 +#define compound_stmt 280 +#define if_stmt 281 +#define while_stmt 282 +#define for_stmt 283 +#define try_stmt 284 +#define except_clause 285 +#define suite 286 +#define test 287 +#define and_test 288 +#define not_test 289 +#define comparison 290 +#define comp_op 291 +#define expr 292 +#define xor_expr 293 +#define and_expr 294 +#define shift_expr 295 +#define arith_expr 296 +#define term 297 +#define factor 298 +#define power 299 +#define atom 300 +#define lambdef 301 +#define trailer 302 +#define subscriptlist 303 +#define subscript 304 +#define sliceop 305 +#define exprlist 306 +#define testlist 307 +#define dictmaker 308 +#define classdef 309 +#define arglist 310 +#define argument 311 |