Skip to content

Commit

Permalink
Update docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
kg583 committed Nov 17, 2024
1 parent 2600097 commit 561f950
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tivars/types/complex.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ class ImaginaryPart(Converter):
Converter for the imaginary part of complex numbers
Imaginary parts are instances of `RealEntry`.
Updating the imaginary part of a complex entry updates the type of the entire entry.
"""

_T = RealEntry
Expand All @@ -63,7 +64,7 @@ def get(cls, data: bytes, *, instance=None) -> _T:
:param data: The raw bytes to convert
:param instance: The instance containing the data section
:return: The real part of ``data`` converted to the appropriate type
:return: The imaginary part of ``data`` converted to the appropriate type
"""

return instance.imag_type.get(data)
Expand Down

0 comments on commit 561f950

Please sign in to comment.