summaryrefslogtreecommitdiff
path: root/python/tarfile.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/tarfile.cc
parent57624b5df523c0b3a3ebc1741680f283ee1fbbcd (diff)
parent340f6a3d54f5705801267f365fb08b5d20228fe6 (diff)
downloadpython-apt-cdaebccd5f7a5a0e23a9be7989b64850fabafed1.tar.gz
merged from debian-sid
Diffstat (limited to 'python/tarfile.cc')
-rw-r--r--python/tarfile.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/python/tarfile.cc b/python/tarfile.cc
index 6363af0f..215d3a8c 100644
--- a/python/tarfile.cc
+++ b/python/tarfile.cc
@@ -235,7 +235,7 @@ static PyMethodDef tarmember_methods[] = {
{"ischr",tarmember_ischr,METH_NOARGS,
"Determine whether the member is a character device."},
{"isdev",tarmember_isdev,METH_NOARGS,
- "Determine whether the member is a device (block,character or FIFO)."},
+ "Determine whether the member is a device (block, character or FIFO)."},
{"isdir",tarmember_isdir,METH_NOARGS,
"Determine whether the member is a directory."},
{"isfifo",tarmember_isfifo,METH_NOARGS,
@@ -252,7 +252,7 @@ static PyMethodDef tarmember_methods[] = {
};
static PyGetSetDef tarmember_getset[] = {
- {"gid",tarmember_get_gid,0,"The owner's group id"},
+ {"gid",tarmember_get_gid,0,"The owner's group ID."},
{"linkname",tarmember_get_linkname,0,"The target of the link."},
{"major",tarmember_get_major,0,"The major ID of the device."},
{"minor",tarmember_get_minor,0,"The minor ID of the device."},
@@ -260,7 +260,7 @@ static PyGetSetDef tarmember_getset[] = {
{"mtime",tarmember_get_mtime,0,"Last time of modification."},
{"name",tarmember_get_name,0,"The name of the file."},
{"size",tarmember_get_size,0,"The size of the file."},
- {"uid",tarmember_get_uid,0,"The owner's user id."},
+ {"uid",tarmember_get_uid,0,"The owner's user ID."},
{NULL}
};
@@ -375,11 +375,11 @@ static PyObject *tarfile_extractall(PyObject *self, PyObject *args)
static const char *tarfile_go_doc =
"go(callback: callable[, member: str]) -> True\n\n"
- "Go through the archive and call the callable callback for each\n"
+ "Go through the archive and call the callable 'callback' for each\n"
"member with 2 arguments. The first argument is the TarMember and\n"
"the second one is the data, as bytes.\n\n"
"The optional parameter 'member' can be used to specify the member for\n"
- "which call the callback. If not specified, it will be called for all\n"
+ "which to call the callback. If not specified, it will be called for all\n"
"members. If specified and not found, LookupError will be raised.";
static PyObject *tarfile_go(PyObject *self, PyObject *args)
{