We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f4d45e commit c3c87a7Copy full SHA for c3c87a7
pymysql/connections.py
@@ -267,10 +267,10 @@ def _config(key, arg):
267
raise ValueError("connect_timeout should be >0 and <=31536000")
268
self.connect_timeout = connect_timeout or None
269
if read_timeout is not None and read_timeout <= 0:
270
- raise ValueError("read_timeout should be >= 0")
+ raise ValueError("read_timeout should be > 0")
271
self._read_timeout = read_timeout
272
if write_timeout is not None and write_timeout <= 0:
273
- raise ValueError("write_timeout should be >= 0")
+ raise ValueError("write_timeout should be > 0")
274
self._write_timeout = write_timeout
275
if charset:
276
self.charset = charset
0 commit comments