File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff 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
25572557Here are some examples:
You can’t perform that action at this time.
0 commit comments