diff options
author | David Shea <dshea@redhat.com> | 2015-12-11 15:04:21 -0500 |
---|---|---|
committer | David Shea <dshea@redhat.com> | 2015-12-11 15:04:21 -0500 |
commit | b0fdfe55e8428f3a9a141f70632607d6bf0d9bb2 (patch) | |
tree | 653117c0df9bc866878eedcd6129e0bf5512c4e9 /astroid/arguments.py | |
parent | 7f4ce0ece9eda79e7a098abbf4ed3c982450f9a1 (diff) | |
download | astroid-git-b0fdfe55e8428f3a9a141f70632607d6bf0d9bb2.tar.gz |
Check for flags/enum types before checking for int
gobject-introspection enum and flag types inherit from int, so the check
for a unusable string represenation needs to happen before checking if
the values can be used as integers. This fixes syntax errors in the
generated stubs for gobject-introspection modules containing flag and
enum types.
Diffstat (limited to 'astroid/arguments.py')
0 files changed, 0 insertions, 0 deletions