Remove an unused argument

This commit is contained in:
Pradyun Gedam 2019-07-12 13:19:17 +05:30
parent 1b331851f1
commit 2ce98c1807
No known key found for this signature in database
GPG Key ID: DA17C4B29CB32E4B
1 changed files with 2 additions and 2 deletions

View File

@ -234,8 +234,8 @@ class Path(_base):
with open(self, "w") as fp:
fp.write(content)
def touch(self, times=None):
def touch(self):
with open(self, "a") as fp:
os.utime(fp.fileno() if os.utime in supports_fd else self, times)
os.utime(fp.fileno() if os.utime in supports_fd else self)
curdir = Path(os.path.curdir)