mercurial/windows.py
changeset 51285 9d3721552b6c
parent 50929 18c8c18993f0
--- a/mercurial/windows.py	Wed Nov 08 01:58:16 2023 +0100
+++ b/mercurial/windows.py	Wed Dec 20 12:51:20 2023 +0100
@@ -61,13 +61,7 @@
 unlink = win32.unlink
 
 if typing.TYPE_CHECKING:
-    # Replace the various overloads that come along with aliasing stdlib methods
-    # with the narrow definition that we care about in the type checking phase
-    # only.  This ensures that both Windows and POSIX see only the definition
-    # that is actually available.
-    #
-    # Note that if we check pycompat.TYPE_CHECKING here, it is always False, and
-    # the methods aren't replaced.
+
     def split(p: bytes) -> Tuple[bytes, bytes]:
         raise NotImplementedError