Skip to content

Commit 0b5fa07

Browse files
committed
Merge pull request #8223 from isms/patch-1
DOC: fix formatting error in io.rst
2 parents 512f0ff + 8541f4b commit 0b5fa07

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

doc/source/io.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2541,17 +2541,17 @@ The right-hand side of the sub-expression (after a comparison operator) can be:
25412541
string = "HolyMoly'"
25422542
store.select('df', 'index == %s' % string)
25432543
2544-
The latter will **not** work and will raise a ``SyntaxError``.Note that
2545-
there's a single quote followed by a double quote in the ``string``
2546-
variable.
2544+
The latter will **not** work and will raise a ``SyntaxError``.Note that
2545+
there's a single quote followed by a double quote in the ``string``
2546+
variable.
25472547

2548-
If you *must* interpolate, use the ``'%r'`` format specifier
2548+
If you *must* interpolate, use the ``'%r'`` format specifier
25492549

2550-
.. code-block:: python
2550+
.. code-block:: python
25512551
2552-
store.select('df', 'index == %r' % string)
2552+
store.select('df', 'index == %r' % string)
25532553
2554-
which will quote ``string``.
2554+
which will quote ``string``.
25552555

25562556

25572557
Here are some examples:

0 commit comments

Comments
 (0)