Ge Chunyuan <[EMAIL PROTECTED]> wrote:
> Once use ActivePython latest version for Python 2.5.1.
> I happened to find function "str" is not callable, but it is available
> for Python 2.5.
> Can anybody give some comments about it?
I don't really understand what your asking. str is a callable, it ha
On Aug 13, 4:48 pm, Peter Otten <[EMAIL PROTECTED]> wrote:
> Ge Chunyuan wrote:
> > Once use ActivePython latest version for Python 2.5.1.
> > I happened to find function "str" is not callable, but it is available
> > for Python 2.5.
>
> If it's not callable it's not the str() function, but somethi
Ge Chunyuan wrote:
> Once use ActivePython latest version for Python 2.5.1.
> I happened to find function "str" is not callable, but it is available
> for Python 2.5.
If it's not callable it's not the str() function, but something else with a
badly chosen variable name.
>>> callable(str)
True
>>