We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5765b0 commit 6c4e1d0Copy full SHA for 6c4e1d0
pygit2/py2.py
@@ -54,4 +54,4 @@ def to_str(s):
54
if type(s) is unicode:
55
return s.encode()
56
57
- raise TypeError, 'unexpected type "%s"' % repr(s)
+ raise TypeError('unexpected type "%s"' % repr(s))
0 commit comments