File tree 1 file changed +7
-7
lines changed
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:
2541
2541
string = " HolyMoly'"
2542
2542
store.select(' df' , ' index == %s ' % string)
2543
2543
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.
2547
2547
2548
- If you * must* interpolate, use the `` ' %r ' `` format specifier
2548
+ If you *must * interpolate, use the ``'%r' `` format specifier
2549
2549
2550
- .. code- block:: python
2550
+ .. code-block :: python
2551
2551
2552
- store.select(' df' , ' index == %r ' % string)
2552
+ store.select(' df' , ' index == %r ' % string)
2553
2553
2554
- which will quote `` string`` .
2554
+ which will quote ``string ``.
2555
2555
2556
2556
2557
2557
Here are some examples:
You can’t perform that action at this time.
0 commit comments