summaryrefslogtreecommitdiffstats
path: root/Include/accessobject.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-08-12 22:00:53 (GMT)
committerGuido van Rossum <guido@python.org>1996-08-12 22:00:53 (GMT)
commit0dfcf753ad75892c0ad2a68713841402183514d4 (patch)
treeae704c4e11a11f44c5efd229d78c6558d3b0b78a /Include/accessobject.h
parentaacdc9da75e31a48a90a8354f5ea29af4267a178 (diff)
downloadcpython-0dfcf753ad75892c0ad2a68713841402183514d4.zip
cpython-0dfcf753ad75892c0ad2a68713841402183514d4.tar.gz
cpython-0dfcf753ad75892c0ad2a68713841402183514d4.tar.bz2
Disable support for access statement
Diffstat (limited to 'Include/accessobject.h')
-rw-r--r--Include/accessobject.h6
1 files changed, 6 insertions, 0 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