]> granicus.if.org Git - python/commit
Modernize the code a bit:
authorAndrew M. Kuchling <amk@amk.ca>
Thu, 24 Apr 2003 17:17:56 +0000 (17:17 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Thu, 24 Apr 2003 17:17:56 +0000 (17:17 +0000)
commitb7878d09e5d360da4eda65cdf6f51376c234af3d
treedd3a0d7952f019eb961ae9a12d15a4ec3fd62ec8
parent946c53ed7ff53f38792ac35e5da21de3e0a48ef2
Modernize the code a bit:
   use re module
   use .split() string method

Doesn't use 'for line in sys.stdin'; that ends up changing its interactive
behaviour.
Demo/comparisons/sortingtest.py