mercurial/posix.py
changeset 51285 9d3721552b6c
parent 50996 82bc0b26db50
--- a/mercurial/posix.py	Wed Nov 08 01:58:16 2023 +0100
+++ b/mercurial/posix.py	Wed Dec 20 12:51:20 2023 +0100
@@ -70,13 +70,6 @@
 removedirs = os.removedirs
 
 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 normpath(path: bytes) -> bytes:
         raise NotImplementedError