summaryrefslogtreecommitdiff
path: root/rsa
diff options
context:
space:
mode:
authorYesudeep Mangalapilly <yesudeep@gmail.com>2011-08-13 06:05:41 +0530
committerYesudeep Mangalapilly <yesudeep@gmail.com>2011-08-13 06:05:41 +0530
commitcb2dcfbe667b3f38a5fc1adeb5beed70a1096ad7 (patch)
treee6d75bdf56193545e2cbd4b3f247daa1a5911add /rsa
parent60f064b0efa7fa94cfc663755aa0cf091ed8ba02 (diff)
downloadrsa-cb2dcfbe667b3f38a5fc1adeb5beed70a1096ad7.tar.gz
Fixes doctest.
Diffstat (limited to 'rsa')
-rw-r--r--rsa/transform.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsa/transform.py b/rsa/transform.py
index fe4def8..40f7ca6 100644
--- a/rsa/transform.py
+++ b/rsa/transform.py
@@ -138,7 +138,7 @@ def int2bytes(number, chunk_size=0,
>>> int2bytes(123456789, 3)
Traceback (most recent call last):
...
- OverflowError: Need 4 bytes for number, but block size is 3
+ OverflowError: Need 4 bytes for number, but chunk size is 3
:param number:
Integer value