]> granicus.if.org Git - python/commit
User-level locale module. A wrapper around _locale which adds
authorGuido van Rossum <guido@python.org>
Wed, 19 Nov 1997 19:01:43 +0000 (19:01 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 19 Nov 1997 19:01:43 +0000 (19:01 +0000)
commiteef1d4e8b16c7352cc748f19e0481275d4f78291
tree6657239b556937c1627a08009118e6137f01a5f6
parent3df69bca0ac00aa413ab94d29624cd3d0a244448
User-level locale module.  A wrapper around _locale which adds
format(), str(), atof(), and atoi().  The last three are locale
sensitive versions of the corresponding standard functions (only for
numbers though); format() does general %[efg] formatting taking the
locale into account, optionally with thousands grouping.
Lib/locale.py [new file with mode: 0644]