| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -213,10 +213,6 @@ operation. For example:: | |||
| 213 | 213 | >>> print('The value of PI is approximately %5.3f.' % math.pi) | |
| 214 | 214 | The value of PI is approximately 3.142. | |
| 215 | 215 | ||
| 216 | - Since :meth:`str.format` is quite new, a lot of Python code still uses the ``%`` | ||
| 217 | - operator. However, because this old style of formatting will eventually be | ||
| 218 | - removed from the language, :meth:`str.format` should generally be used. | ||
| 219 | - | ||
| 220 | 216 | More information can be found in the :ref:`old-string-formatting` section. | |
| 221 | 217 | ||
| 222 | 218 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments