Skip to content

Commit ea5e48a

Browse files
BNAndrasBethanyG
andauthored
considerations to use-cases
Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>
1 parent 2c992cd commit ea5e48a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

concepts/string-formatting/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ For Python 3.6+, **literal string interpolation** (**`f-strings`**) is often the
1111
'This is an easy way to format strings!'
1212
```
1313

14-
However, given Python's long history and different considerations, it might not be surprising that there are **three** other common ways to perform string formatting in Python:
14+
However, given Python's long history and different use-cases, it might not be surprising that there are **three** other common ways to perform string formatting in Python:
1515

1616
1. `str.format()` is versatile, very powerful and compatible with both `gnu gettext` and most versions of Python.
1717
2. If simplicity, safety, and/or heavy internationalization is what you need, `string.Template()` can be used to mitigate risks when inputs need to be handled and for wrapping translation strings.

0 commit comments

Comments
 (0)