Python introspection: description of the parameters a function takes
introspection, python
Solution
`help(thing)` pretty prints all the docstrings that are in the module, method, whatever ...
Problem
Is there is a tool similar to `dir()` for modules that will tell me what parameters a given function takes? For instance, I would like to do something like `dir(os.rename)` and have it tell me what parameters are documented so that I can avoid checking the documentation online, and instead use only the Python scripting interface to do this.