[Python-checkins] r70047 - python/branches/io-c/Lib/_pyio.py
benjamin.peterson
python-checkins at python.org
Sat Feb 28 03:03:26 CET 2009
Author: benjamin.peterson
Date: Sat Feb 28 03:03:26 2009
New Revision: 70047
Log:
fix typo
Modified:
python/branches/io-c/Lib/_pyio.py
Modified: python/branches/io-c/Lib/_pyio.py
==============================================================================
--- python/branches/io-c/Lib/_pyio.py (original)
+++ python/branches/io-c/Lib/_pyio.py Sat Feb 28 03:03:26 2009
@@ -929,7 +929,7 @@
# Returns up to n bytes. If at least one byte is buffered, we
# only return buffered bytes. Otherwise, we do one raw read.
if n < 0:
- raise ValueError("number of bytes ot read must be positive")
+ raise ValueError("number of bytes to read must be positive")
if n == 0:
return b""
with self._read_lock:
More information about the Python-checkins
mailing list