Skip to content

Commit

Permalink
Remove :members: and from TypeParameter and add docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
b-butler committed Dec 8, 2020
1 parent 77b57b0 commit 6e0d0e8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions hoomd/data/typeparam.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@


class TypeParameter:
"""Store information that is per-type.
Provides a `collections.abc.MutableMapping` interface.
"""
def __init__(self, name, type_kind, param_dict):
self.name = name
self.type_kind = type_kind
Expand Down
3 changes: 1 addition & 2 deletions sphinx-doc/module-hoomd-data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ hoomd.data
:inherited-members:

.. autoclass:: hoomd.data.typeparam.TypeParameter
:members: default, keys
:undoc-members:
:members: default

.. rubric:: Modules

Expand Down

0 comments on commit 6e0d0e8

Please sign in to comment.