Skip to content

Commit

Permalink
Merge pull request #106 from bgurney-rh/typos
Browse files Browse the repository at this point in the history
Fix misspellings
  • Loading branch information
mulkieran authored Sep 26, 2023
2 parents da7dc72 + 0d86b86 commit 0e3f7cb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Note that this is conversion of natural numbers, so all int values are
non-negative. Invoking convert_from_int() on a negative integer raises an
exception.

It is also possible to peform an add operation of a single digit to
It is also possible to perform an add operation of a single digit to
a number in any base. ::

>>> Nats.carry_in([1, 1], 1, 2)
Expand Down
4 changes: 2 additions & 2 deletions src/justbases/_division.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def _fractional_division(
:param precision: maximum number of fractional digits
:type precision: int or NoneType
:param method: rounding method
:type method: element of RoundignMethods.METHODS
:type method: element of RoundingMethods.METHODS
:returns: carry-out digit, non_repeating and repeating parts
:rtype: tuple of int * list of int * list of int * int
Expand Down Expand Up @@ -199,7 +199,7 @@ def division(
:param precision: maximum number of fractional digits
:type precision: int or NoneType
:param method: rounding method
:type method: element of RoundignMethods.METHODS
:type method: element of RoundingMethods.METHODS
:returns: the result
:rtype: tuple of list of int * list of int * list of int * int
:raises ConvertError: on invalid values
Expand Down
2 changes: 1 addition & 1 deletion tests/test_deterministic/test_radix.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def test_in_equality(self):

def test_operator_exceptions(self):
"""
Test that comparsion operators yield exceptions.
Test that comparison operators yield exceptions.
"""
radix1 = Radix(0, [], [], [], 3)
radix2 = Radix(0, [], [], [], 2)
Expand Down

0 comments on commit 0e3f7cb

Please sign in to comment.