commit | 0dabacee160cbb9d848b4e2b292e9e70aefd96f8 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri May 22 00:55:34 1998 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri May 22 00:55:34 1998 +0000 |
tree | 6e04feaa1108db1c742fb391f3dd1ab0ab524ee0 | |
parent | b1ed9c529579ebeba7bafabeaa9254f8df3c33f9 [diff] |
Make function objects somewhat mutable -- the members func_code, func_defaults and func_doc (alias __doc__) may be assigned to. For the first two, there's a type restriction to code object and tuple, respectively.