Skip to content

Commit a1cb82c

Browse files
authored
Fix typo in docstring (#18)
Replace incorrect function name 'simplest_in_subinterval' with the correct 'simplest_in_interval'.
1 parent 3902456 commit a1cb82c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

simplefractions/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
It follows that given a finite Python float ``f``, there's a unique simplest
2929
fraction ``x`` such that ``float(x)`` recovers ``f``.
3030
31-
This module provides two functions: ``simplest_in_subinterval`` finds the
31+
This module provides two functions: ``simplest_in_interval`` finds the
3232
simplest fraction in a given interval, while ``simplest_from_float`` finds
3333
the simplest fraction that converts to the given float.
3434
"""

0 commit comments

Comments
 (0)