summaryrefslogtreecommitdiffstats
path: root/Include/accessobject.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1993-05-21 19:56:10 (GMT)
committerGuido van Rossum <guido@python.org>1993-05-21 19:56:10 (GMT)
commitb3f7258f14cb2f3e52236a4087ed82541a173e7b (patch)
tree4bb2d9aa0d0dbdd7fca7fdb22eaa80c98b27cbb7 /Include/accessobject.h
parent81daa32c15cfa9f05eda037916cdbfd5b4323431 (diff)
downloadcpython-b3f7258f14cb2f3e52236a4087ed82541a173e7b.zip
cpython-b3f7258f14cb2f3e52236a4087ed82541a173e7b.tar.gz
cpython-b3f7258f14cb2f3e52236a4087ed82541a173e7b.tar.bz2
* Lots of small changes related to access.
* Added "access *: ...", made access work for class methods. * Introduced subclass check: make sure that when calling ClassName.methodname(instance, ...), the instance is an instance of ClassName or of a subclass thereof (this might break some old code!)
Diffstat (limited to 'Include/accessobject.h')
-rw-r--r--Include/accessobject.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/accessobject.h b/Include/accessobject.h
index 1c67849..d50d028 100644
--- a/Include/accessobject.h
+++ b/Include/accessobject.h
@@ -50,5 +50,6 @@ int setaccessvalue PROTO((object *, object *, object *));
void setaccessowner PROTO((object *, object *));
object *cloneaccessobject PROTO((object *));
+int hasaccessvalue PROTO((object *));
extern typeobject Anynumbertype, Anysequencetype, Anymappingtype;