title: Docstring - Usage of parameter name and type of in python
body: <p>I've written some classes in Python and I have written docstrings for them like this:</p>
  
  <pre><code>class DB:
      def execute_and_return(self, sql):
          """Execute the query and returns the result as a list of list
          Parameters
          ----------
          sql: str
              Your query
          Returns
          -------
          list""
  </code></pre>
  
  <p>If I want to access the docstring in another class I can simply call <code>DB.execute_and_return.__doc__</code> and I get the string. </p>
  
  <p>However if I'm interesting to know the name of the parameters (in this case <code>sql</code>) and the type of data (in this case <code>str</code>) is there any built in functions for accessing that?</p>