diff --git a/doc/content/en/docs/++version++/Getting started (Python)/_index.md b/doc/content/en/docs/++version++/Getting started (Python)/_index.md index f11fcc05134..44e3a8f37fd 100644 --- a/doc/content/en/docs/++version++/Getting started (Python)/_index.md +++ b/doc/content/en/docs/++version++/Getting started (Python)/_index.md @@ -102,8 +102,8 @@ reader.close() This outputs: ```json -{u'favorite_color': None, u'favorite_number': 256, u'name': u'Alyssa'} -{u'favorite_color': u'red', u'favorite_number': 7, u'name': u'Ben'} +{'favorite_color': None, 'favorite_number': 256, 'name': 'Alyssa'} +{'favorite_color': 'red', 'favorite_number': 7, 'name': 'Ben'} ``` Do make sure that you open your files in binary mode (i.e. using the modes wb or rb respectively). Otherwise you might generate corrupt files due to automatic replacement of newline characters with the platform-specific representations.