Home | Trees | Indices | Help |
---|
|
1 # -*- coding: utf-8 -*- 2 # From http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/285264 3 # Licensed under PSF: http://python.org/license 4 5 import re 6 import copy 7 8 1315 "Used internally to get a tuple by which s is sorted." 16 return map(try_int, re.findall(r'(\d+|\D+)', s))17 21 25 29 35 40
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0beta1 on Wed Jan 16 19:11:05 2008 | http://epydoc.sourceforge.net |