summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2021-10-03 17:03:49 (GMT)
committerGitHub <noreply@github.com>2021-10-03 17:03:49 (GMT)
commit93242d7a2ad8c22f72ff84b63ed9046d32f6aa8e (patch)
tree7d119733b0de07024169d68ac5af8ac63422023f /Objects
parent5ba61f488da2e092a81c3d126c5827dad6ab2006 (diff)
downloadcpython-93242d7a2ad8c22f72ff84b63ed9046d32f6aa8e.zip
cpython-93242d7a2ad8c22f72ff84b63ed9046d32f6aa8e.tar.gz
cpython-93242d7a2ad8c22f72ff84b63ed9046d32f6aa8e.tar.bz2
[3.10] Remove trailing spaces (GH-28709)
Diffstat (limited to 'Objects')
-rw-r--r--Objects/exceptions.c2
-rw-r--r--Objects/genericaliasobject.c2
-rw-r--r--Objects/obmalloc.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/Objects/exceptions.c b/Objects/exceptions.c
index 38e523a..6537a7c 100644
--- a/Objects/exceptions.c
+++ b/Objects/exceptions.c
@@ -1503,7 +1503,7 @@ SyntaxError_init(PySyntaxErrorObject *self, PyObject *args, PyObject *kwds)
&self->end_lineno, &self->end_offset)) {
Py_DECREF(info);
return -1;
- }
+ }
Py_INCREF(self->filename);
Py_INCREF(self->lineno);
diff --git a/Objects/genericaliasobject.c b/Objects/genericaliasobject.c
index e36e0c0..dbe5d89 100644
--- a/Objects/genericaliasobject.c
+++ b/Objects/genericaliasobject.c
@@ -578,7 +578,7 @@ static PyGetSetDef ga_properties[] = {
};
/* A helper function to create GenericAlias' args tuple and set its attributes.
- * Returns 1 on success, 0 on failure.
+ * Returns 1 on success, 0 on failure.
*/
static inline int
setup_ga(gaobject *alias, PyObject *origin, PyObject *args) {
diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c
index c1c1279..1e06bee 100644
--- a/Objects/obmalloc.c
+++ b/Objects/obmalloc.c
@@ -3035,7 +3035,7 @@ _PyObject_DebugMallocStats(FILE *out)
fputc('\n', out);
- /* Account for what all of those arena bytes are being used for. */
+ /* Account for what all of those arena bytes are being used for. */
total = printone(out, "# bytes in allocated blocks", allocated_bytes);
total += printone(out, "# bytes in available blocks", available_bytes);