From 2f7cbf9b01a0324ed8822f1dd77308991b873890 Mon Sep 17 00:00:00 2001
From: Iustin Pop <iusty@k1024.org>
Date: Tue, 15 May 2012 00:23:12 +0200
Subject: [PATCH] A few docstring fixes

---
 xattr.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/xattr.c b/xattr.c
index 77fb012..e8ab5a9 100644
--- a/xattr.c
+++ b/xattr.c
@@ -525,13 +525,13 @@ get_all(PyObject *self, PyObject *args, PyObject *keywds)
 static char __pysetxattr_doc__[] =
     "Set the value of a given extended attribute (deprecated).\n"
     "\n"
-    "Be carefull in case you want to set attributes on symbolic\n"
+    "Be careful in case you want to set attributes on symbolic\n"
     "links, you have to use all the 5 parameters; use 0 for the \n"
-    "flags value if you want the default behavior (create or "
+    "flags value if you want the default behaviour (create or "
     "replace)\n"
     "\n"
     "Parameters:\n"
-    "  - a string representing filename, or a file-like object,\n"
+    "  - a string representing a file-name, or a file-like object,\n"
     "    or a file descriptor; this represents the file on \n"
     "    which to act\n"
     "  - a string, representing the attribute whose value to set;\n"
@@ -539,7 +539,7 @@ static char __pysetxattr_doc__[] =
     "  - a string, possibly with embedded NULLs; note that there\n"
     "    are restrictions regarding the size of the value, for\n"
     "    example, for ext2/ext3, maximum size is the block size\n"
-    "  - (optional) flags; if 0 or ommited the attribute will be \n"
+    "  - (optional) flags; if 0 or omitted the attribute will be \n"
     "    created or replaced; if XATTR_CREATE, the attribute \n"
     "    will be created, giving an error if it already exists;\n"
     "    of XATTR_REPLACE, the attribute will be replaced,\n"
@@ -692,7 +692,7 @@ static char __pyremovexattr_doc__[] =
     "Remove an attribute from a file (deprecated).\n"
     "\n"
     "Parameters:\n"
-    "  - a string representing filename, or a file-like object,\n"
+    "  - a string representing a file-name, or a file-like object,\n"
     "    or a file descriptor; this represents the file on \n"
     "    which to act\n"
     "  - a string, representing the attribute to be removed;\n"
-- 
2.39.5