This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
``inspect_mate`` provides more methods to get information about class attribute | |
than the standard library ``inspect``. | |
This module is Python2/3 compatible, tested under Py2.7, 3.3, 3.4, 3.5, 3.6. | |
Includes tester function to check: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
from PyQt4 import QtGui, QtCore | |
import warnings | |
class KeySequenceEdit(QtGui.QLineEdit): | |
""" | |
This class is mainly inspired by | |
http://stackoverflow.com/a/6665017 |