Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a72e2f9

Browse files
committed
Fix spelling and grammar.
1 parent 5f16a31 commit a72e2f9

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Include/abstract.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Proposal
4848
services of Python objects. This proposal can be viewed as one
4949
components of a Python C interface consisting of several components.
5050
51-
From the viewpoint of of C access to Python services, we have (as
51+
From the viewpoint of C access to Python services, we have (as
5252
suggested by Guido in off-line discussions):
5353
5454
- "Very high level layer": two or three functions that let you exec or
@@ -68,7 +68,7 @@ Proposal
6868
- "Concrete objects layer": This is the public type-dependent
6969
interface provided by the standard built-in types, such as floats,
7070
strings, and lists. This interface exists and is currently
71-
documented by the collection of include files provides with the
71+
documented by the collection of include files provided with the
7272
Python distributions.
7373
7474
From the point of view of Python accessing services provided by C
@@ -467,7 +467,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
467467
for subsequent processing.
468468
469469
0 is returned on success. buffer and buffer_len are only
470-
set in case no error occurrs. Otherwise, -1 is returned and
470+
set in case no error occurs. Otherwise, -1 is returned and
471471
an exception set.
472472
473473
*/
@@ -704,7 +704,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
704704
PyAPI_FUNC(PyObject *) PyNumber_Or(PyObject *o1, PyObject *o2);
705705

706706
/*
707-
Returns the result of bitwise or or o1 and o2 on success, or
707+
Returns the result of bitwise or on o1 and o2 on success, or
708708
NULL on failure. This is the equivalent of the Python
709709
expression: o1|o2.
710710
@@ -1041,7 +1041,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
10411041
Iterate over seq. Result depends on the operation:
10421042
PY_ITERSEARCH_COUNT: return # of times obj appears in seq; -1 if
10431043
error.
1044-
PY_ITERSEARCH_INDEX: return 0-based index of first occurence of
1044+
PY_ITERSEARCH_INDEX: return 0-based index of first occurrence of
10451045
obj in seq; set ValueError and return -1 if none found;
10461046
also return -1 on error.
10471047
PY_ITERSEARCH_CONTAINS: return 1 if obj in seq, else 0; -1 on

0 commit comments

Comments
 (0)