maybe it's just me, but I think it's a bit confusing to have two functions in the same module with very similar names: >>> import locale >>> print locale.setlocale.__doc__ (integer,string=3DNone) -> string. Activates/queries locale = processing. >>> print locale.set_locale.__doc__ Set the locale according to the localetuple (language code, encoding) as returned by get_locale() and get_default(). The given codes are passed through the locale aliasing engine before being given to setlocale() for processing. category may be given as one of the LC_* values. It defaults to LC_ALL. maybe "setlocale" should be changed to accept either a string or a tuple? (from which follows that get_locale should be "getlocale", and get_default "getdefaultlocale". or something...) (btw, maybe both doc strings should mention the arguments? or maybe none of them should? what does the style guide say?) </F>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4