]> granicus.if.org Git - python/commit
Make function objects somewhat mutable -- the members func_code,
authorGuido van Rossum <guido@python.org>
Fri, 22 May 1998 00:55:34 +0000 (00:55 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 22 May 1998 00:55:34 +0000 (00:55 +0000)
commit0dabacee160cbb9d848b4e2b292e9e70aefd96f8
tree6e04feaa1108db1c742fb391f3dd1ab0ab524ee0
parentb1ed9c529579ebeba7bafabeaa9254f8df3c33f9
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.
Objects/funcobject.c