[Python-checkins] CVS: python/dist/src/Doc/lib libnew.tex,1.8,1.9

Guido van Rossum gvanrossum@users.sourceforge.net
Tue, 15 Jan 2002 11:21:07 -0800


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

Modified Files:
	libnew.tex 
Log Message:
There's no need for typechecks on the second and third argument of
new.instancemethod() -- the instancemethod object is now a perfectly
general container.

This fixes SF bug ##503091 (Pedro Rodriquez): new.instancemethod fails
for new classes

This is a 2.2.1 candidate.


Index: libnew.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libnew.tex,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** libnew.tex	2001/01/28 17:23:05	1.8
--- libnew.tex	2002/01/15 19:21:05	1.9
***************
*** 26,31 ****
  This function will return a method object, bound to \var{instance}, or
  unbound if \var{instance} is \code{None}.  \var{function} must be
! callable, and \var{instance} must be an instance object or
! \code{None}.
  \end{funcdesc}
  
--- 26,30 ----
  This function will return a method object, bound to \var{instance}, or
  unbound if \var{instance} is \code{None}.  \var{function} must be
! callable.
  \end{funcdesc}