]> granicus.if.org Git - python/commit
Rewrite function attributes to use the generic routines properly.
authorGuido van Rossum <guido@python.org>
Mon, 17 Sep 2001 23:46:56 +0000 (23:46 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 17 Sep 2001 23:46:56 +0000 (23:46 +0000)
commitd9d1d4ac6fda7f4c898b55194be37b03b89450e9
tree0524526733e2e0affab748ea0c82a82d35faac07
parent5d1e34aa4217f1c3526e2dc330c84bf836c696b8
Rewrite function attributes to use the generic routines properly.
This uses the new "restricted" feature of structmember, and getset
descriptors for some of the type checks.
Lib/test/test_funcattrs.py
Objects/funcobject.c