Skip to content

Commit

Permalink
Fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardo-rodrigues authored Sep 6, 2024
1 parent 11c4dd9 commit 3a0ef6b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/particle/particle/particle.py
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,8 @@ def __lt__(self, other: Particle | int) -> bool:

def __eq__(self, other: object) -> bool:
"""
Compare with another Particle instance based in PDG IDs.
Note
----
Ensure the comparison also works for the special cases of the proton and the neutron,
Expand Down

0 comments on commit 3a0ef6b

Please sign in to comment.