mercurial/formatter.py
changeset 52647 ab7b4fba8bde
parent 51859 f4733654f144
--- a/mercurial/formatter.py	Mon Jan 06 00:38:32 2025 -0500
+++ b/mercurial/formatter.py	Mon Jan 06 01:06:59 2025 -0500
@@ -148,7 +148,7 @@
     Returns False if the object is unsupported or must be pre-processed by
     formatdate(), formatdict(), or formatlist().
     """
-    return isinstance(obj, (type(None), bool, int, int, float, bytes))
+    return isinstance(obj, (type(None), bool, int, float, bytes))
 
 
 class _nullconverter: