Commit Graph

12 Commits

Author SHA1 Message Date
Shantanu
4de4cd0428 locale: various improvements (#3860)
- fix delocalize return type
- fix arg names
- add missing args
2020-03-22 08:53:32 -07:00
Utkarsh Gupta
cf88c79a93 locale.format_string takes strings and numbers, too. (#2922)
Fixes #2879
2019-04-14 09:30:07 -07:00
Michael Lee
efb67946f8 Use variable annotations everywhere (#2909) 2019-04-13 10:40:52 +02:00
Sekou Diao
96e3e23d9b Add locale.windows (#2251)
This is undocumented but it exists (on all platforms AFAICT) and is used, so it should be added, marked `# undocumented`.
2018-06-18 09:19:55 -07:00
Michael
9ec6d476c4 Broaden type of val argument to locale.currency (#2192)
Similar to python/typeshed#1350
2018-06-04 07:54:26 -07:00
Jelle Zijlstra
f60ffe47a2 add attributes to locale (#2056)
Fixes #1888.
2018-04-27 14:38:22 -07:00
Jelle Zijlstra
43e6c3c435 add more minor 3.7 new features (#2000)
part of #1965
2018-03-28 21:28:27 -07:00
Jelle Zijlstra
7ecc979211 locale: broaden type of val argument to format (#1453)
Fixes #1350
2017-07-04 19:21:12 -07:00
Jelle Zijlstra
c1944f944e fix some missing ", ..." in tuples (#1079) 2017-03-22 21:04:39 -07:00
Guido van Rossum
ed97067f6d Different fix for locale/str/__builtin__ issue (#570) 2016-09-23 10:18:04 -07:00
Matthias Kramm
76c0850eb2 Use the correct __builtin__/builtins module in Python 2/3. (#569) 2016-09-23 05:38:35 -07:00
Valérian Rousset
2824cd1197 Improve locale (#462) 2016-08-10 13:52:29 -07:00