[issue28798] Describe character as a string of length one instead of size one in tutorial

2016-11-24 Thread Liang-Bo Wang
New submission from Liang-Bo Wang: In Tutorial "An Informal Introduction" section, character is introduced as a string of size one. It may be true for python 2.x, where str can be interpreted as bytes. However in Python 3, strings are unicode thus the size and the length of a

[issue26246] Code output toggle button uses removed jQuery method

2016-01-31 Thread Liang Bo Wang
New submission from Liang Bo Wang: The code output toggle button (the `>>>` button on the top right) has been disappeared and not functional on the current online documentation (both 3.4+ and 2.7). For example, see any doc page that has interpreter outputs: https://docs.pyt

[issue26246] Code output toggle button uses removed jQuery method

2016-02-26 Thread Liang-Bo Wang
Liang-Bo Wang added the comment: Just FYI, I applied the patch to the zh-hant translation of the documentation and the code output toggle button is back and works as expected. https://docs.python.org.tw/3/tutorial/introduction.html#numbers You can see the result of any other page by

[issue26246] Code output toggle button uses removed jQuery method

2016-02-26 Thread Liang-Bo Wang
Liang-Bo Wang added the comment: Thanks for the merge. I pulled the change and checked the result, but I found the patch missing a line to initiate the correct display state when the button was created. That is, it forgot to set `button.data('hidden', 'false');` wh