Skip to content

Commit

Permalink
Add typehint to Directory stat()
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Hennenfent <eric.hennenfent@trailofbits.com>
  • Loading branch information
ekilmer and Eric Hennenfent authored Aug 11, 2020
1 parent e0f0077 commit b6cce76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manticore/platforms/linux.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ def close(self):
except OSError as e:
return -e.errno

def stat(self):
def stat(self) -> os.stat_result:
try:
return os.stat(self.fileno())
except OSError as e:
Expand Down

0 comments on commit b6cce76

Please sign in to comment.