• Petr Prikryl's avatar
    doc/translator.py unified for Python 2.6+ and Python 3.0+ · 6212c2d2
    Petr Prikryl authored
    - Open() replaced by xopen() that internally uses the encoding argument
      only for Python 3. The earlier usage of the codecs module and of the
      prefixed unicode string literals was removed.
    - Some lists of prototypes were sorted to get the same translator report
      for different versions of Python.
    - The local dedent() definition was replaced by textwrap.dedent().
      (The older versions of Python did not have the module.)
    - Tested on Windows for Python 2.6.0, 2.7.7, 3.0.1, and 3.4.1.
    6212c2d2
Name
Last commit
Last update
addon Loading commit data...
doc Loading commit data...
examples Loading commit data...
jquery Loading commit data...
libmd5 Loading commit data...
packages/rpm Loading commit data...
qtools Loading commit data...
src Loading commit data...
testing Loading commit data...
tmake Loading commit data...
winbuild Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
Doxyfile Loading commit data...
INSTALL Loading commit data...
LANGUAGE.HOWTO Loading commit data...
LICENSE Loading commit data...
Makefile.in Loading commit data...
Makefile.win_make.in Loading commit data...
Makefile.win_nmake.in Loading commit data...
PLATFORMS Loading commit data...
README.md Loading commit data...
configure Loading commit data...
configure.bin Loading commit data...