Python 2.4.4c0 (#2, Oct  2 2006, 00:57:46)
[GCC 4.1.2 20060928 (prerelease) (Debian 4.1.1-15)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> l = [0]
>>> l[0.5]
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
TypeError: list indices must be integers

IronPython 1.0.2463 on .NET 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
>>> l = [0]
>>> l[0.5]
0

-- 
Seo Sanghyeon
_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to