classification
Title: Typo in collections.deque
Type: Stage: resolved
Components: Documentation Versions: Python 3.7
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, keroru, matrixise, mdk, xtreak
Priority: normal Keywords:

Created on 2019-05-07 12:53 by keroru, last changed 2019-05-07 20:13 by mdk. This issue is now closed.

Messages (4)
msg341715 - (view) Author: (keroru) Date: 2019-05-07 12:53
https://docs.python.org/ja/3/library/collections.html#collections.deque

has a typo in description of "rotate(n=1)" in Japanese.
I suppose that "d.appendleft(d.popleft())" should be "d.append(d.popleft())".

Thank you!
msg341716 - (view) Author: Karthikeyan Singaravelan (xtreak) * (Python triager) Date: 2019-05-07 13:03
Thank you for the report. English translation has the following text and I guess you are right at [0] . The tracker deals with English translation. Please consider reporting this to https://github.com/python/python-docs-ja which also accepts PR.

[0] https://docs.python.org/3/library/collections.html#collections.deque.rotate

    Rotate the deque n steps to the right. If n is negative, rotate to the left.

    When the deque is not empty, rotating one step to the right is equivalent to d.appendleft(d.pop()), and rotating one step to the left is equivalent to d.append(d.popleft()).
msg341717 - (view) Author: Stéphane Wirtel (matrixise) * (Python committer) Date: 2019-05-07 13:04
Hi @keroru,

This is issue is related to the Japanese translation, not to the official documentation.

Please, try to contact the translators. 

I am adding Julien, maybe he has the contact of the translators.
msg341812 - (view) Author: Julien Palard (mdk) * (Python committer) Date: 2019-05-07 20:13
I reopened the issue on the ja tracker: https://github.com/python/python-docs-ja/issues/20 and I'm closing it here.

Thanks a lot keroru for reporting!
History
Date User Action Args
2019-05-07 20:13:54mdksetstatus: pending -> closed

messages: + msg341812
stage: resolved
2019-05-07 13:04:49matrixisesetstatus: open -> pending

nosy: + matrixise, mdk
messages: + msg341717

resolution: wont fix
2019-05-07 13:03:44xtreaksetnosy: + xtreak
messages: + msg341716
2019-05-07 12:53:12kerorucreate