diff options
author | Petr Prikryl <prikryl@atlas.cz> | 2014-06-16 13:04:03 (GMT) |
---|---|---|
committer | Petr Prikryl <prikryl@atlas.cz> | 2014-06-16 13:04:03 (GMT) |
commit | 6212c2d2af12dd9d47459bdecdf79ad106060229 (patch) | |
tree | 950d42c7bcb7d900138b599f565c93d80b4c5dd3 /examples/example.cpp | |
parent | 962ad74fa0fc203bca04e2abd6bf9c0efafe2437 (diff) | |
download | Doxygen-6212c2d2af12dd9d47459bdecdf79ad106060229.zip Doxygen-6212c2d2af12dd9d47459bdecdf79ad106060229.tar.gz Doxygen-6212c2d2af12dd9d47459bdecdf79ad106060229.tar.bz2 |
doc/translator.py unified for Python 2.6+ and Python 3.0+
- 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.
Diffstat (limited to 'examples/example.cpp')
0 files changed, 0 insertions, 0 deletions