code: def ucamel_method(func):
      
      frame_locals = inspect.currentframe().f_back.f_locals
      frame_locals[snake2ucamel(func.__name__)] = func
      return func
docs: 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.