# HG changeset patch # User Matt Harbison # Date 1670968127 18000 # Node ID c43b283a19c3d3dc610677e0b1eafcae2dca03bc # Parent de284a0b5614789f107dfa6364175d4f97440f8b windows: drop an unused method The only caller was removed in 563eb25e079b. diff -r de284a0b5614 -r c43b283a19c3 mercurial/windows.py --- 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().