I've got a class that I'm trying to document with Sphinx. The module that contains the class below (only first part of class shown)
class StructureContainer:
"""
Data structure for describing a collection of Particles
"""
def __init__(self, ptclC=ParticleContainer()):
…
is included in my sphinx documentation with code like:
.. automodule:: structureContainer
:members:
:show-inheritance:
Which works fine. But the default value of ptclC above in supposed to be the default constructor for another class 'ParticleContainer'. But in the documentation it looks as if the constructor is being instantiated in the documentation itself (sorry I can't post image)
class structureContainer.StructureContainer(ptclC=<particles.ParticleContainer instance at 0x1071ed710>,
How can the object instance info be left out of the HTML documentation?