summaryrefslogtreecommitdiff
path: root/natsort/compat/fake_fastnumbers.py
diff options
context:
space:
mode:
Diffstat (limited to 'natsort/compat/fake_fastnumbers.py')
-rw-r--r--natsort/compat/fake_fastnumbers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/natsort/compat/fake_fastnumbers.py b/natsort/compat/fake_fastnumbers.py
index cb1c900..430345a 100644
--- a/natsort/compat/fake_fastnumbers.py
+++ b/natsort/compat/fake_fastnumbers.py
@@ -55,7 +55,7 @@ def fast_float(
String to attempt to convert to a float.
key : callable
Single-argument function to apply to *x* if conversion fails.
- nan : object
+ nan : float
Value to return instead of NaN if NaN would be returned.
Returns