Skip to content

Commit

Permalink
Include relevant special methods in class API reference (#1904)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdeelH committed Sep 7, 2023
1 parent 9be1f2e commit c099b76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/_templates/class.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
.. autoclass:: {{ objname }}
:show-inheritance:
:members:
:special-members: __getitem__, __setitem__, __contains__, __add__
:undoc-members:
:inherited-members:

Expand Down

0 comments on commit c099b76

Please sign in to comment.