title: How to put a variable into Python docstring
body: <p>So I'm trying to create a "dynamic" docstring which is something like this:</p>
  
  <pre><code>ANIMAL_TYPES = ["mammals", "reptiles", "other"]
  
  def func(animalType):
  """ This is a sample function.
  
      @param animalType: "It takes one of these animal types %s" % ANIMAL_TYPES
  """
  </code></pre>
  
  <p>to basically let the docstring for <code>@param animalType</code> show whatever <code>ANIMAL_TYPES</code> has; so that when this variable is updated, the docstring will be updated automatically. </p>
  
  <p>Unfortunately, it doesn't seem to work. Does anyone know if there is a way of achieving this?</p>