Issue #18539: Calltips now work for float default arguments.
diff --git a/Lib/idlelib/CallTips.py b/Lib/idlelib/CallTips.py
index 0fdef11..c29f89b 100644
--- a/Lib/idlelib/CallTips.py
+++ b/Lib/idlelib/CallTips.py
@@ -163,7 +163,7 @@
if fob.func_code.co_flags & 0x8:
items.append("***")
arg_text = ", ".join(items)
- arg_text = "(%s)" % re.sub("\.\d+", "<tuple>", arg_text)
+ arg_text = "(%s)" % re.sub("(?<!\d)\.\d+", "<tuple>", arg_text)
# See if we can use the docstring
doc = getattr(ob, "__doc__", "")
if doc: