Skip to content

Commit

Permalink
Fix missing newlines in docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
SethMMorton committed Nov 11, 2024
1 parent e103cf0 commit 63d2e00
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions include/fastnumbers/docstrings.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ PyDoc_STRVAR(
"on_type_error : optional\n"
" Control what happens when the input is neither numeric nor string. Behavior\n"
" matches that of `on_fail` except that the default value is *RAISE* and a\n"
" *TypeError* is raised instead of *ValueError*."
" *TypeError* is raised instead of *ValueError*.\n"
"coerce : bool, optional\n"
" If the input can be converted to an *int* without loss of precision\n"
" (even if the input was a *float* or float-containing *str*)\n"
Expand Down Expand Up @@ -169,7 +169,7 @@ PyDoc_STRVAR(
"on_type_error : optional\n"
" Control what happens when the input is neither numeric nor string. Behavior\n"
" matches that of `on_fail` except that the default value is *RAISE* and a\n"
" *TypeError* is raised instead of *ValueError*."
" *TypeError* is raised instead of *ValueError*.\n"
"allow_underscores : bool, optional\n"
" Underscores are allowed in numeric literals and in strings passed to *int*\n"
" or *float* (see PEP 515 for details on what is and is not allowed). You can\n"
Expand Down Expand Up @@ -267,7 +267,7 @@ PyDoc_STRVAR(
"on_type_error : optional\n"
" Control what happens when the input is neither numeric nor string. Behavior\n"
" matches that of `on_fail` except that the default value is *RAISE* and a\n"
" *TypeError* is raised instead of *ValueError*."
" *TypeError* is raised instead of *ValueError*.\n"
"base : int, optional\n"
" Follows the rules of Python's built-in :func:*int*; see it's\n"
" documentation for your Python version. If given, the input\n"
Expand Down Expand Up @@ -374,7 +374,7 @@ PyDoc_STRVAR(
"on_type_error : optional\n"
" Control what happens when the input is neither numeric nor string. Behavior\n"
" matches that of `on_fail` except that the default value is *RAISE* and a\n"
" *TypeError* is raised instead of *ValueError*."
" *TypeError* is raised instead of *ValueError*.\n"
"denoise : bool, optional\n"
" When converting large floating point numbers to an integer, ensure that\n"
" \"noise\" digits are not included. See README for more details.\n"
Expand Down Expand Up @@ -984,7 +984,7 @@ PyDoc_STRVAR(
" * `allow_inf` is a `bool` that can only only tolggle behavior of\n"
" \"inf\"; INF will always return *True*.\n"
" * there is no `strict` option to toggle how strings containing integers\n"
" are evaluated."
" are evaluated.\n"
"\n"
);

Expand Down

0 comments on commit 63d2e00

Please sign in to comment.