def ucamel_method(func):
frame_locals = inspect.currentframe().f_back.f_locals<EOL>frame_locals[snake2ucamel(func.__name__)] = func<EOL>return func<EOL>
Decorator to ensure the given snake_case method is also written in
UpperCamelCase in the given namespace. That was mainly written to
avoid confusion when using wxPython and its UpperCamelCaseMethods.