[Python-checkins] python/dist/src/Doc/ref ref6.tex,1.58,1.59

rhettinger@users.sourceforge.net rhettinger@users.sourceforge.net
Mon, 06 Jan 2003 04:54:57 -0800


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

Modified Files:
	ref6.tex 
Log Message:
SF bug #661848 and #631055:  Clarify use of __all__.



Index: ref6.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ref/ref6.tex,v
retrieving revision 1.58
retrieving revision 1.59
diff -C2 -d -r1.58 -r1.59
*** ref6.tex	7 Dec 2002 16:00:00 -0000	1.58
--- ref6.tex	6 Jan 2003 12:54:54 -0000	1.59
***************
*** 703,707 ****
  defined, the set of public names includes all names found in the
  module's namespace which do not begin with an underscore character
! (\character{_}).
  \withsubitem{(optional module attribute)}{\ttindex{__all__}}
  
--- 703,710 ----
  defined, the set of public names includes all names found in the
  module's namespace which do not begin with an underscore character
! (\character{_}).  \code{__all__} should contain the entire public API.
! It is intended to avoid accidentally exporting items that are not part
! of the API (such as library modules which were imported and used within
! the module).
  \withsubitem{(optional module attribute)}{\ttindex{__all__}}