summaryrefslogtreecommitdiff
path: root/python/hashes.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-06-29 11:02:42 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2010-06-29 11:02:42 +0200
commitcdaebccd5f7a5a0e23a9be7989b64850fabafed1 (patch)
tree52d3bd94c02ae9be75fb11bfd423043ef10838cc /python/hashes.cc
parent57624b5df523c0b3a3ebc1741680f283ee1fbbcd (diff)
parent340f6a3d54f5705801267f365fb08b5d20228fe6 (diff)
downloadpython-apt-cdaebccd5f7a5a0e23a9be7989b64850fabafed1.tar.gz
merged from debian-sid
Diffstat (limited to 'python/hashes.cc')
-rw-r--r--python/hashes.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/python/hashes.cc b/python/hashes.cc
index d0b0fb0c..8cc86f4e 100644
--- a/python/hashes.cc
+++ b/python/hashes.cc
@@ -88,9 +88,8 @@ static char *hashes_doc =
"Hashes([object: (bytes, file)])\n\n"
"Calculate hashes for the given object. It can be used to create all\n"
"supported hashes for a file.\n\n"
- "The parameter *object* can be a bytes (3.X) / str (2.X) object, or an\n"
- "object providing the fileno() method or an integer describing a file\n"
- "descriptor.";
+ "The parameter 'object' can be a bytestring, an object providing the\n"
+ "fileno() method, or an integer describing a file descriptor.";
PyTypeObject PyHashes_Type = {
PyVarObject_HEAD_INIT(&PyType_Type, 0)