Skip to content

Commit 058fb35

Browse files
bpo-44854: Remove trailing whitespaces (pythonGH-27689)
1 parent 7d14fdb commit 058fb35

File tree

13 files changed

+15
-15
lines changed

13 files changed

+15
-15
lines changed

.github/SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ official website](https://www.python.org/dev/security/) for
1414
instructions on how to report a security-related problem to
1515
the Python team responsibly.
1616

17-
To reach the response team, email `security at python dot org`.
17+
To reach the response team, email `security at python dot org`.

.github/problem-matchers/sphinx.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"line": 2,
3535
"message": 3
3636
}
37-
]
37+
]
3838
}
3939
]
4040
}

Doc/tools/templates/search.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
jQuery(function() {
88
$.getJSON("_static/glossary.json", function(glossary) {
9-
var RESULT_TEMPLATE = '<div style="display: none" class="admonition seealso" id="glossary-result">' +
9+
var RESULT_TEMPLATE = '<div style="display: none" class="admonition seealso" id="glossary-result">' +
1010
' <p class="topic-title">' +
1111
' <a class="glossary-title" href="#"></a>' +
1212
' </p>' +
@@ -20,7 +20,7 @@
2020
var glossary_item = glossary[search_param];
2121
if (glossary_item) {
2222
var resultDiv = $("#glossary-result");
23-
23+
2424
// set up the title text with a link to the glossary page
2525
resultDiv.find(".glossary-title").text('Glossary: ' + glossary_item.title);
2626
var link_target = search_param.replace(/ /g, '-');

Modules/_bisectmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ _bisect_insort_left_impl(PyObject *module, PyObject *a, PyObject *x,
240240
{
241241
PyObject *result, *key_x;
242242
Py_ssize_t index;
243-
243+
244244
if (key == Py_None) {
245245
index = internal_bisect_left(a, x, lo, hi, key);
246246
} else {

Modules/_ctypes/_ctypes_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1034,7 +1034,7 @@ EXPORT (HRESULT) KeepObject(IUnknown *punk)
10341034

10351035
static struct PyModuleDef_Slot _ctypes_test_slots[] = {
10361036
{0, NULL}
1037-
};
1037+
};
10381038

10391039
static struct PyModuleDef _ctypes_testmodule = {
10401040
PyModuleDef_HEAD_INIT,

Modules/_json.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ raise_errmsg(const char *msg, PyObject *s, Py_ssize_t end)
321321
if (decoder == NULL) {
322322
return;
323323
}
324-
324+
325325
_Py_IDENTIFIER(JSONDecodeError);
326326
PyObject *JSONDecodeError = _PyObject_GetAttrId(decoder, &PyId_JSONDecodeError);
327327
Py_DECREF(decoder);

Modules/termios.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,7 @@ static void termiosmodule_free(void *m) {
10041004
termiosmodule_clear((PyObject *)m);
10051005
}
10061006

1007-
static int
1007+
static int
10081008
termios_exec(PyObject *mod)
10091009
{
10101010
struct constant *constant = termios_constants;

Objects/exceptions.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1503,7 +1503,7 @@ SyntaxError_init(PySyntaxErrorObject *self, PyObject *args, PyObject *kwds)
15031503
&self->end_lineno, &self->end_offset)) {
15041504
Py_DECREF(info);
15051505
return -1;
1506-
}
1506+
}
15071507

15081508
Py_INCREF(self->filename);
15091509
Py_INCREF(self->lineno);

Objects/genericaliasobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ static PyGetSetDef ga_properties[] = {
576576
};
577577

578578
/* A helper function to create GenericAlias' args tuple and set its attributes.
579-
* Returns 1 on success, 0 on failure.
579+
* Returns 1 on success, 0 on failure.
580580
*/
581581
static inline int
582582
setup_ga(gaobject *alias, PyObject *origin, PyObject *args) {

Parser/tokenizer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ struct tok_state {
8383
int async_def_nl; /* =1 if the outermost 'async def' had at least one
8484
NEWLINE token after it. */
8585
/* How to proceed when asked for a new token in interactive mode */
86-
enum interactive_underflow_t interactive_underflow;
86+
enum interactive_underflow_t interactive_underflow;
8787
};
8888

8989
extern struct tok_state *PyTokenizer_FromString(const char *, int);

0 commit comments

Comments
 (0)