diff options
| author | Julian Andres Klode <jak@debian.org> | 2010-04-21 16:59:48 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2010-04-21 16:59:48 +0200 |
| commit | 6a519d479e384b0c1044ee456b1b0fb90ab41248 (patch) | |
| tree | a8396c55a775a2419066d4bf63ad29349371dd56 /python/hashes.cc | |
| parent | d624e84bf5ea40d2ae19b8ac02af77766e063d52 (diff) | |
| download | python-apt-6a519d479e384b0c1044ee456b1b0fb90ab41248.tar.gz | |
python: Commit documentation changes suggested by debian-l10n-english.
Diffstat (limited to 'python/hashes.cc')
| -rw-r--r-- | python/hashes.cc | 5 |
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) |
