Jun. 4th, 2010

joshua0: (Default)
joshua@escape:~$ python
Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> foo = 1
>>> type(foo)
<type 'int'>
>>> type(type(foo))
<type 'type'>
>>> kind(type(foo))
Traceback (most recent call last):
  File "", line 1, in 
NameError: name 'kind' is not defined
>>>
:(
Page generated Aug. 21st, 2025 01:47 am
Powered by Dreamwidth Studios