Mercurial > fife-parpg
diff engine/extensions/pychan/tools.py @ 129:9a1529f9625e
* Indentation patch by GreyGhost
author | mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Thu, 07 Aug 2008 15:46:46 +0000 |
parents | 4a0efb7baf70 |
children | 31718fa356f8 |
line wrap: on
line diff
--- a/engine/extensions/pychan/tools.py Wed Aug 06 22:35:27 2008 +0000 +++ b/engine/extensions/pychan/tools.py Thu Aug 07 15:46:46 2008 +0000 @@ -28,12 +28,12 @@ """ Curries a function with extra arguments to create a suitable callback. - + If you don't know what this means, don't worry. It is designed for the case where you need different buttons to execute basically the same code with different argumnets. - + Usage:: # The target callback def printStuff(text): @@ -48,7 +48,6 @@ callback(*args,**kwargs) return real_callback - def this_is_deprecated(func,message=None): if message is None: message = repr(func)