A decorator that returns its argument rather than the thing it is decorating.

This allows the documentation generator to see an alias for a method or constant as an object with a docstring and thereby document it and allow references to it statically.

ParameterssomethingAn object to create an alias for. (type: object)
Returnsa 1-argument callable that returns something (type: object)
Function decorate Undocumented
def decorate(thingWithADocstring): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2020-03-20 23:54:06.