Is it posible to use docstring for plain variable? For example I have module called t
t
def f(): \"\"\"f\"\"\" l = lambda x: x \"\"\"l\"\"\"
Some python documentation scripts have notation that can be use in the module/classes docstring to document a var.
E.g. for spinx, you can use :var and :ivar. See this document (about half-way down).