diff --git a/dev/docs/source/conf.py b/dev/docs/source/conf.py index edbc7ef9a..34bbe8529 100644 --- a/dev/docs/source/conf.py +++ b/dev/docs/source/conf.py @@ -5,8 +5,8 @@ source_suffix = '.rst' master_doc = 'index' -project = u'XlsxWriter' -copyright = u'2013-2024, John McNamara' +project = 'XlsxWriter' +copyright = '2013-2024, John McNamara' version = '3.2.0' release = version diff --git a/dev/docs/source/format.rst b/dev/docs/source/format.rst index 98c57fc78..cf31df03c 100644 --- a/dev/docs/source/format.rst +++ b/dev/docs/source/format.rst @@ -834,9 +834,9 @@ worksheet. worksheet.right_to_left() - worksheet.write('A1', u'نص عربي / English text') # Default direction. - worksheet.write('A2', u'نص عربي / English text', format_left_to_right) - worksheet.write('A3', u'نص عربي / English text', format_right_to_left) + worksheet.write('A1', 'نص عربي / English text') # Default direction. + worksheet.write('A2', 'نص عربي / English text', format_left_to_right) + worksheet.write('A3', 'نص عربي / English text', format_right_to_left) .. image:: _images/right_to_left.png diff --git a/dev/docs/source/worksheet.rst b/dev/docs/source/worksheet.rst index 8039fb0fe..9bc73c8c9 100644 --- a/dev/docs/source/worksheet.rst +++ b/dev/docs/source/worksheet.rst @@ -234,7 +234,7 @@ parameter is optional but when present is should be a valid Unicode strings are supported in UTF-8 encoding. This generally requires that your source file is UTF-8 encoded:: - worksheet.write('A1', u'Some UTF-8 text') + worksheet.write('A1', 'Some UTF-8 text') .. image:: _images/worksheet02.png