aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2023-10-13 07:18:45 +0000
committerIngo Klöcker <[email protected]>2023-10-13 07:22:36 +0000
commit131384b107fb54e37e31f8fc19be8ab8fcffd929 (patch)
treef83e77bdb13ed498fc7f152d04bd30f653671492
parentcpp,doc: Fix typos in API documentation and source code comments (diff)
downloadgpgme-131384b107fb54e37e31f8fc19be8ab8fcffd929.tar.gz
gpgme-131384b107fb54e37e31f8fc19be8ab8fcffd929.zip
python,doc: Fix typos in documentation and source code comments
-- Anonymous contribution Signed-off-by: Ingo Klöcker <[email protected]>
-rw-r--r--lang/python/doc/texinfo/texinfo.tex2
-rw-r--r--lang/python/gpgme.i2
-rw-r--r--lang/python/src/core.py6
-rwxr-xr-xlang/python/tests/t-quick-key-manipulation.py2
4 files changed, 6 insertions, 6 deletions
diff --git a/lang/python/doc/texinfo/texinfo.tex b/lang/python/doc/texinfo/texinfo.tex
index a5c849c8..a505e733 100644
--- a/lang/python/doc/texinfo/texinfo.tex
+++ b/lang/python/doc/texinfo/texinfo.tex
@@ -498,7 +498,7 @@
% \def\foo{\parsearg\Xfoo}
% \def\Xfoo#1{...}
%
-% Actually, I use \csname\string\foo\endcsname, ie. \\foo, as it is my
+% Actually, I use \csname\string\foo\endcsname, i.e. \\foo, as it is my
% favourite TeX trick. --kasal, 16nov03
\def\parseargdef#1{%
diff --git a/lang/python/gpgme.i b/lang/python/gpgme.i
index 87371af8..2484d34d 100644
--- a/lang/python/gpgme.i
+++ b/lang/python/gpgme.i
@@ -26,7 +26,7 @@
%ignore HAVE_CXX11;
%{
-/* We use public symbols (eg. "_obsolete_class") which are marked as
+/* We use public symbols (e.g. "_obsolete_class") which are marked as
* deprecated but we need to keep them. Silence the warning. */
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
%}
diff --git a/lang/python/src/core.py b/lang/python/src/core.py
index c7b312b8..152ea295 100644
--- a/lang/python/src/core.py
+++ b/lang/python/src/core.py
@@ -813,7 +813,7 @@ class Context(GpgmeWrapper):
Keyword arguments:
algorithm -- public key algorithm, see above (default: reasonable)
expires_in -- expiration time in seconds (default: reasonable)
- expires -- whether or not the key should expire (default: True)
+ expires -- whether the key should expire (default: True)
sign -- request the signing capability (see above)
encrypt -- request the encryption capability (see above)
certify -- request the certification capability (see above)
@@ -901,7 +901,7 @@ class Context(GpgmeWrapper):
Keyword arguments:
algorithm -- public key algorithm, see above (default: reasonable)
expires_in -- expiration time in seconds (default: reasonable)
- expires -- whether or not the subkey should expire (default: True)
+ expires -- whether the subkey should expire (default: True)
sign -- request the signing capability (see above)
encrypt -- request the encryption capability (see above)
authenticate -- request the authentication capability (see above)
@@ -1032,7 +1032,7 @@ class Context(GpgmeWrapper):
If command is a string or bytes, it will be used as-is. If it
is an iterable of strings, it will be properly escaped and
- joined into an well-formed assuan command.
+ joined into a well-formed assuan command.
Keyword arguments:
data_cb -- a callback receiving data lines
diff --git a/lang/python/tests/t-quick-key-manipulation.py b/lang/python/tests/t-quick-key-manipulation.py
index 73dce16d..81da03be 100755
--- a/lang/python/tests/t-quick-key-manipulation.py
+++ b/lang/python/tests/t-quick-key-manipulation.py
@@ -88,7 +88,7 @@ with support.EphemeralContext() as ctx:
except gpg.errors.GpgError:
pass
- # try to add an pre-existent UID
+ # try to add a pre-existent UID
try:
ctx.key_add_uid(key, bravo)
assert False, "Expected an error but got none"