Mercurial > cpython-lru_cache-weakref
diff Include/accessobject.h @ 1290:7971fecbf28e legacy-trunk
* 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!)
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 21 May 1993 19:56:10 +0000 |
| parents | 4d292c7857d4 |
| children | 519c25039c6a |
line wrap: on
line diff
--- a/Include/accessobject.h Thu May 20 14:24:46 1993 +0000 +++ b/Include/accessobject.h Fri May 21 19:56:10 1993 +0000 @@ -50,5 +50,6 @@ void setaccessowner PROTO((object *, object *)); object *cloneaccessobject PROTO((object *)); +int hasaccessvalue PROTO((object *)); extern typeobject Anynumbertype, Anysequencetype, Anymappingtype;
