[Python-checkins] CVS: python/dist/src/Objects floatobject.c

Barry A. Warsaw bwarsaw@cnri.reston.va.us
Thu, 10 Jun 1999 19:04:23 -0400 (EDT)


Update of /projects/cvsroot/python/dist/src/Objects
In directory anthem:/projects/python/develop/bwarsaw/src/Objects

Modified Files:
      Tag: string_methods
	floatobject.c 
Log Message:
PyFloat_FromString(): New API function which converts a string (char*)
into a PyFloat.  Arguments are the character string, and a char**.
The second argument returns the character position of the end of the
conversion.

This method encapsulates all the string->float conversions in Python,
in an API that can be used by string.atof() and float().