removeHook -> remHook

This commit is contained in:
Damien Elmes 2011-12-06 00:12:36 +09:00
parent 4a88885e83
commit 52234f9d9a

View file

@ -39,7 +39,7 @@ def addHook(hook, func):
if func not in _hooks[hook]:
_hooks[hook].append(func)
def removeHook(hook, func):
def remHook(hook, func):
"Remove a function if is on hook."
hook = _hooks.get(hook, [])
if func in hook: