Skip to content

Commit 798f8d3

Browse files
authored
Replace non-breaking spaces with normal spaces (python#130116)
Using normal spaces in place of non-breaking spaces.
1 parent a7d41a8 commit 798f8d3

File tree

13 files changed

+14
-14
lines changed

13 files changed

+14
-14
lines changed

Android/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,10 @@ stderr. Add the `-v` option to also show Gradle output, and non-Python logcat
119119
messages.
120120

121121
Any other arguments on the `android.py test` command line will be passed through
122-
to `python -m test` use `--` to separate them from android.py's own options.
122+
to `python -m test` use `--` to separate them from android.py's own options.
123123
See the [Python Developer's
124124
Guide](https://devguide.python.org/testing/run-write-tests/) for common options
125-
 most of them will work on Android, except for those that involve subprocesses,
125+
most of them will work on Android, except for those that involve subprocesses,
126126
such as `-j`.
127127

128128
Every time you run `android.py test`, changes in pure-Python files in the

Doc/library/itertools.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Examples Results
7979
``product('ABCD', repeat=2)`` ``AA AB AC AD BA BB BC BD CA CB CC CD DA DB DC DD``
8080
``permutations('ABCD', 2)`` ``AB AC AD BA BC BD CA CB CD DA DB DC``
8181
``combinations('ABCD', 2)`` ``AB AC AD BC BD CD``
82-
``combinations_with_replacement('ABCD', 2)`` ``AA AB AC AD BB BC BD CC CD DD``
82+
``combinations_with_replacement('ABCD', 2)`` ``AA AB AC AD BB BC BD CC CD DD``
8383
============================================== =============================================================
8484

8585

Doc/library/sqlite3.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1148,7 +1148,7 @@ Connection objects
11481148
the *remaining* number of pages still to be copied,
11491149
and the *total* number of pages.
11501150
Defaults to ``None``.
1151-
:type progress: :term:`callback` | None
1151+
:type progress: :term:`callback` | None
11521152

11531153
:param str name:
11541154
The name of the database to back up.

Doc/whatsnew/3.1.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
when researching a change.
4848
4949
This article explains the new features in Python 3.1, compared to 3.0.
50-
Python 3.1 was released on June 27, 2009.
50+
Python 3.1 was released on June 27, 2009.
5151

5252

5353
PEP 372: Ordered Dictionaries

Doc/whatsnew/3.5.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
when researching a change.
4646
4747
This article explains the new features in Python 3.5, compared to 3.4.
48-
Python 3.5 was released on September 13, 2015.  See the
48+
Python 3.5 was released on September 13, 2015. See the
4949
`changelog <https://docs.python.org/3.5/whatsnew/changelog.html>`_ for a full
5050
list of changes.
5151

Doc/whatsnew/3.6.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
when researching a change.
4646
4747
This article explains the new features in Python 3.6, compared to 3.5.
48-
Python 3.6 was released on December 23, 2016.  See the
48+
Python 3.6 was released on December 23, 2016. See the
4949
`changelog <https://docs.python.org/3.6/whatsnew/changelog.html>`_ for a full
5050
list of changes.
5151

InternalDocs/interpreter.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ snippet decode a complete instruction:
105105
For various reasons we'll get to later (mostly efficiency, given that `EXTENDED_ARG`
106106
is rare) the actual code is different.
107107

108-
## Jumps
108+
## Jumps
109109

110110
Note that when the `switch` statement is reached, `next_instr` (the "instruction offset")
111111
already points to the next instruction.

Lib/test/clinic.test.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -3976,7 +3976,7 @@ test_preprocessor_guarded_if_with_continuation_impl(PyObject *module)
39763976
/*[clinic end generated code: output=3d0712ca9e2d15b9 input=4a956fd91be30284]*/
39773977
#endif
39783978

3979-
#if CONDITION_E || CONDITION_F
3979+
#if CONDITION_E || CONDITION_F
39803980
#warning "different type of CPP directive"
39813981
/*[clinic input]
39823982
test_preprocessor_guarded_if_e_or_f

Lib/test/test_asyncio/test_selector_events.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1086,7 +1086,7 @@ def _resume_writing():
10861086
self.assertFalse(self.protocol.connection_lost.called)
10871087

10881088
self.loop.writers[7]._run()
1089-
# during this ^ run, the _resume_writing mock above was called and added more data
1089+
# during this ^ run, the _resume_writing mock above was called and added more data
10901090

10911091
self.assertEqual(transport.get_write_buffer_size(), 2)
10921092
self.loop.writers[7]._run()

Lib/test/test_bytes.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1386,7 +1386,7 @@ def test_resize(self):
13861386
self.assertIsNone(ba.resize(10))
13871387
self.assertEqual(ba, bytearray(b'\0' * 10))
13881388

1389-
# Subclass
1389+
# Subclass
13901390
ba = ByteArraySubclass(b'abcdef')
13911391
self.assertIsNone(ba.resize(3))
13921392
self.assertEqual(ba, bytearray(b'abc'))

Lib/test/test_embed.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
MAX_HASH_SEED = 4294967295
5252

5353
ABI_THREAD = 't' if sysconfig.get_config_var('Py_GIL_DISABLED') else ''
54-
# PLATSTDLIB_LANDMARK copied from Modules/getpath.py
54+
# PLATSTDLIB_LANDMARK copied from Modules/getpath.py
5555
if os.name == 'nt':
5656
PLATSTDLIB_LANDMARK = f'{sys.platlibdir}'
5757
else:

Lib/test/test_pyrepl/test_reader.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def test_newline_within_block_trailing_whitespace(self):
197197
Event(evt="key", data="down", raw=bytearray(b"\x1bOB")),
198198
Event(evt="key", data="\x05", raw=bytearray(b"\x1bO5")),
199199
# a double new line in-block should terminate the block
200-
# even if its followed by whitespace
200+
# even if its followed by whitespace
201201
Event(evt="key", data="\n", raw=bytearray(b"\n")),
202202
Event(evt="key", data="\n", raw=bytearray(b"\n")),
203203
],

Misc/NEWS.d/3.11.0b1.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ Make opcodes :opcode:`!JUMP_IF_TRUE_OR_POP` and
415415
416416
Replace the ``f_lasti`` member of the internal ``_PyInterpreterFrame``
417417
structure with a ``prev_instr`` pointer, which reduces overhead in the main
418-
interpreter loop. The ``f_lasti`` attribute of Python-layer frame objects is
418+
interpreter loop. The ``f_lasti`` attribute of Python-layer frame objects is
419419
preserved for backward-compatibility.
420420

421421
..

0 commit comments

Comments
 (0)