[Python-checkins] CVS: python/dist/src/Doc/ref ref3.tex,1.82,1.83

Jeremy Hylton jhylton@users.sourceforge.net
Mon, 01 Apr 2002 09:58:43 -0800


Update of /cvsroot/python/python/dist/src/Doc/ref
In directory usw-pr-cvs1:/tmp/cvs-serv20297

Modified Files:
	ref3.tex 
Log Message:
Small fixes for description of function attributes.

func_closure is a readonly attribute.
Add \ttindex{} for func_closure.
Remove discussion of func_closure specific to 2.1.


Index: ref3.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ref/ref3.tex,v
retrieving revision 1.82
retrieving revision 1.83
diff -C2 -d -r1.82 -r1.83
*** ref3.tex	14 Dec 2001 22:52:41 -0000	1.82
--- ref3.tex	1 Apr 2002 17:58:39 -0000	1.83
***************
*** 415,421 ****
  namespace supporting arbitrary function attributes;
  \member{func_closure} is \code{None} or a tuple of cells that contain
! binding for the function's free variables.
  
! Of these, \member{func_code}, \member{func_defaults}, \member{func_closure},
  \member{func_doc}/\member{__doc__}, and
  \member{func_dict}/\member{__dict__} may be writable; the
--- 415,421 ----
  namespace supporting arbitrary function attributes;
  \member{func_closure} is \code{None} or a tuple of cells that contain
! bindings for the function's free variables.
  
! Of these, \member{func_code}, \member{func_defaults}, 
  \member{func_doc}/\member{__doc__}, and
  \member{func_dict}/\member{__dict__} may be writable; the
***************
*** 424,430 ****
  description of internal types below.
  
- In Python 2.1, the \member{func_closure} slot is always \code{None}
- unless nested scopes are enabled.  (See the appendix.)
- 
  \withsubitem{(function attribute)}{
    \ttindex{func_doc}
--- 424,427 ----
***************
*** 433,436 ****
--- 430,434 ----
    \ttindex{__dict__}
    \ttindex{func_defaults}
+   \ttindex{func_closure}
    \ttindex{func_code}
    \ttindex{func_globals}