##// END OF EJS Templates
typing: add type annotations to `mercurial.util.makelock()`...
Matt Harbison -
r52782:cbd01bf3 default
parent child Browse files
Show More
@@ -2185,7 +2185,7 else:
2185 timer = time.time
2185 timer = time.time
2186
2186
2187
2187
2188 def makelock(info, pathname):
2188 def makelock(info: bytes, pathname: bytes) -> None:
2189 """Create a lock file atomically if possible
2189 """Create a lock file atomically if possible
2190
2190
2191 This may leave a stale lock file if symlink isn't supported and signal
2191 This may leave a stale lock file if symlink isn't supported and signal
General Comments 0
You need to be logged in to leave comments. Login now