python2.2: type('name') -> <type 'str'> ??
Francisco
frandebo at latt.if.usp.br
Tue Jul 24 17:15:53 EDT 2001
Hello!
I just compiled python2.2a and I'm getting this strange response to the
'type' command:
Python 2.2a1 (#2, Jul 24 2001, 12:24:09)
[GCC 2.95.2 20000220 (Debian GNU/Linux)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> type('')
<type 'str'>
while I expected to get <type 'string'>.
Am I missing something or I just messed up with the compilation??
thank you for your attention,
--
Francisco.
Sao Paulo, Brasil.
__o
`\<,
_____(*)/(*)_____
More information about the Python-list
mailing list