Skip to content

Commit

Permalink
Update docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
kg583 committed Nov 15, 2024
1 parent 002e8ee commit 9e69b84
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tivars/types/complex.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class ComplexEntry(TIEntry):
The format for these types varies and is handled by `real_subtype_id` and `imag_subtype_id`.
Two `RealEntry` types are used to form a single `ComplexEntry` corresponding to a complex number.
These types need not be the same, and will have subtype IDs not corresponding to their native type IDs.
These types need not be the same, and will have subtype IDs not directly corresponding to their native type IDs.
The canonical type of the entire entry is determined by the imaginary part.
The entry is coerced automatically if the imaginary part is updated.
Expand Down Expand Up @@ -148,7 +148,7 @@ def calc_data(self) -> bytes:
"""
The data section of the entry
Contains two real numbers, the real and imaginary parts
The real and imaginary parts of the complex number are stored adjacently in `TIReal` format.
"""

@View(calc_data, RealPart)[0:9]
Expand Down Expand Up @@ -410,7 +410,7 @@ def load_complex(self, comp: complex):

class TIComplexPi(TIComplex, register=True):
"""
Parser for complex entries with imaginary part an integer multiple of π
Parser for complex entries with imaginary part a multiple of π
A `TIComplexPi` has a `TIRealPi` as its imaginary part.
"""
Expand Down

0 comments on commit 9e69b84

Please sign in to comment.