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 inspect | |
exec("def init{type}: self.__dict__.update(dict((str(x), y) for x, y in zip(inspect.signature(init).parameters.values() , {type})))".format(type=inspect.signature(lambda self, a, b: None)), locals()) | |
types = str(inspect.signature(lambda self, a, b: None)) | |
assert types == "(self, a, b)" | |
class K: pass | |
K.__init__ = init |
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
[pytest] | |
norecursedirs=venv .* _build tmp* |
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
map h previousTab | |
map l nextTab | |
map d removeTab | |
map u restoreTab | |
map <C-d> scrollPageDown | |
map <C-u> scrollPageUp |
NewerOlder