File: 0001-fix-manpage-typos.patch

package info (click to toggle)
python-gmpy2 2.2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,068 kB
  • sloc: ansic: 24,609; python: 4,911; makefile: 123
file content (31 lines) | stat: -rw-r--r-- 1,259 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From: Martin Kelly <martin@martingkelly.com>
Date: Sat, 31 Aug 2024 12:09:17 -0700
Subject: Fix manpage typos
Forwarded: https://github.com/aleaxit/gmpy/pull/508

---
 src/gmpy2_context.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gmpy2_context.c b/src/gmpy2_context.c
index c64e5df..c3dfaf2 100644
--- a/src/gmpy2_context.c
+++ b/src/gmpy2_context.c
@@ -536,7 +536,7 @@ PyDoc_STRVAR(GMPy_doc_local_context,
 "local_context(context, /, **kwargs) -> context\n\n"
 "Return a new context for controlling gmpy2 arithmetic, based either\n"
 "on the current context or on a ctx value.  Context options additionally\n"
-"can be overriden by keyword arguments.");
+"can be overridden by keyword arguments.");

 static PyObject *
 GMPy_CTXT_Local(PyObject *self, PyObject *args, PyObject *kwargs)
@@ -591,7 +591,7 @@ PyDoc_STRVAR(GMPy_doc_context,
 "context(ctx, /, **kwargs)\n\n"
 "Return a new context for controlling gmpy2 arithmetic, based either\n"
 "on the default context or on a given by ctx value.  Context options\n"
-"additionally can be overriden by keyword arguments.");
+"additionally can be overridden by keyword arguments.");

 static PyObject *
 GMPy_CTXT_Context(PyTypeObject *type, PyObject *args, PyObject *kwargs)