summaryrefslogtreecommitdiff
path: root/pylint/test/functional/pygtk_enum_crash.py
blob: 471afe313f613671a514f7cde261324a2d0f4efe (plain)
1
2
3
4
5
6
7
8
9
10
11
# pylint: disable=C0121
"""http://www.logilab.org/ticket/124337"""

import gtk

def print_some_constant(arg=gtk.BUTTONS_OK):
    """crash because gtk.BUTTONS_OK, a gtk enum type, is returned by
    astroid as a constant
    """
    print arg