tests/test-gendoc.out
author Renato Cunha <renatoc@gmail.com>
Wed, 14 Jul 2010 22:59:43 -0300
changeset 11565 7546d4a272c8
parent 10971 cbe400a8e217
child 11824 663c6bb575e9
permissions -rw-r--r--
util: improved the check for the existence of the 'buffer' builtin 2to3 is unable to translate '__builtin__' calls to 'builtins' when hasattr is used (as in hasattr(__builtin__, buffer)). Translating the check to the format try: whatever except NameError # define whatever __builtin__.whatever = whatever is a correct way of checking for the name and has the benefit of being translated by 2to3. This patch implements the same idea for the aforementioned example.


% extracting documentation from C
checking for parse errors

% extracting documentation from da
checking for parse errors

% extracting documentation from de
checking for parse errors

% extracting documentation from el
checking for parse errors

% extracting documentation from fr
checking for parse errors

% extracting documentation from it
checking for parse errors

% extracting documentation from ja
checking for parse errors

% extracting documentation from pt_BR
checking for parse errors

% extracting documentation from sv
checking for parse errors

% extracting documentation from zh_CN
checking for parse errors

% extracting documentation from zh_TW
checking for parse errors