e+02,2.096732151e+02,2.096732160+02]
>>> for a in x:
... print ' %.9e%.7e'%(a,a)
...
2.096732130e+022.0967321e+02
2.096732140e+022.0967321e+02
2.096732150e+022.0967321e+02 <<<<<<<<
2.096732151e+022.0967322e+02
4.096732160e+004.
Bruno Desthuilliers wrote:
Andrew MacKeith a écrit :
I create a class like this in Python-2.6
>>> class Y(str):
... def __init__(self, s):
... pass
...
>>> y = Y('giraffe')
>>> y
'giraffe'
>>>
How does the base class (s
I create a class like this in Python-2.6
>>> class Y(str):
... def __init__(self, s):
... pass
...
>>> y = Y('giraffe')
>>> y
'giraffe'
>>>
How does the base class (str) get initialized with the value passed to
Y.__init__() ?
Is this behavior specific to the str type, or do base classes
-packages\GUI\Generic
c:\python26\Lib\site-packages\GUI\Resources
c:\python26\Lib\site-packages\GUI\Resources\cursors
c:\python26\Lib\site-packages\GUI\Win32
Andrew MacKeith
--
http://mail.python.org/mailman/listinfo/python-list
Is there a guide to porting projects that depend on PyXML to Python-2.6?
Andrew MacKeith
--
http://mail.python.org/mailman/listinfo/python-list
In the C API Docs, the signature of PyBool from long seems to be incorrect.
int PyBool_FromLong(long v)
Returns Py_True or Py_False depending on the truth value of v. New in
version 2.3.
The description would suggest:
PyObject* PyBool_FromLong(long v)
--
http://mail.python.org/mailman/li