mercurial/worker.py
changeset 48912 a0674e916fb6
parent 48901 cc0e059d2af8
child 48946 642e31cb55f0
--- a/mercurial/worker.py	Mon Feb 21 10:53:09 2022 -0700
+++ b/mercurial/worker.py	Thu Mar 03 17:39:20 2022 -0800
@@ -279,7 +279,11 @@
         while openpipes > 0:
             for key, events in selector.select():
                 try:
+                    # The pytype error likely goes away on a modern version of
+                    # pytype having a modern typeshed snapshot.
+                    # pytype: disable=wrong-arg-types
                     res = pickle.load(_blockingreader(key.fileobj))
+                    # pytype: enable=wrong-arg-types
                     if hasretval and res[0]:
                         retval.update(res[1])
                     else: