Skip to content

Commit 5806318

Browse files
committed
fix spelling error
1 parent 21f8447 commit 5806318

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/advanced/functions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ object, such as:
455455
m.def("supports_float", [](double f) { return 0.5 * f; }, py::arg("f"));
456456
m.def("only_float", [](double f) { return 0.5 * f; }, py::arg("f").noconvert());
457457
458-
``supports_float`` will accept any argument that implments ``__float__``.
458+
``supports_float`` will accept any argument that implements ``__float__``.
459459
``only_float`` will only accept a float or int argument. Anything else will fail with a ``TypeError``:
460460

461461
.. note::

0 commit comments

Comments
 (0)