Skip to content

Commit

Permalink
should fail
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
  • Loading branch information
cyphar committed Oct 8, 2024
1 parent aa25785 commit 070dff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/bindings/python/pathrs/_pathrs.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def __str__(self) -> str:
def __repr__(self) -> str:
return "Error(%r, errno=%r)" % (self.message, self.errno)

def pprint(self, out: TextIO = sys.stdout) -> None:
def pprint(self, out: TextIO = sys.stdout) -> int:
"Pretty-print the error to the given @out file."
# Basic error information.
if self.errno is None:
Expand Down

0 comments on commit 070dff3

Please sign in to comment.