Skip to content

Commit

Permalink
refactor: remove unnecessary unicode prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcnamara committed Nov 16, 2024
1 parent 9c70110 commit 3cbc44b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions dev/docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions dev/docs/source/format.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion dev/docs/source/worksheet.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3cbc44b

Please sign in to comment.