mercurial/windows.py
changeset 49800 c43b283a19c3
parent 49793 8147abc05794
child 49812 58dff81ffba1
--- a/mercurial/windows.py	Mon Dec 12 14:10:12 2022 -0500
+++ b/mercurial/windows.py	Tue Dec 13 16:48:47 2022 -0500
@@ -183,14 +183,6 @@
 listdir = osutil.listdir
 
 
-# copied from .utils.procutil, remove after Python 2 support was dropped
-def _isatty(fp):
-    try:
-        return fp.isatty()
-    except AttributeError:
-        return False
-
-
 def get_password():
     """Prompt for password with echo off, using Windows getch().