Skip to content

Commit 0a38120

Browse files
committed
Typo in exception error message fixed
1 parent 3953066 commit 0a38120

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tarantool/request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def pack_field(cls, value):
136136
elif isinstance(value, (int, long)):
137137
return cls.pack_int(value)
138138
else:
139-
raise TypeError("Invalid argument type '%s', 'str' or 'int' expected"%type(value).__name__)
139+
raise TypeError("Invalid argument type '%s'. Only 'str' or 'int' expected"%type(value).__name__)
140140

141141

142142
@classmethod

0 commit comments

Comments
 (0)