
New submission from keroru <jmdtqj@gmail.com>: 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! ---------- assignee: docs@python components: Documentation messages: 341715 nosy: docs@python, keroru priority: normal severity: normal status: open title: Typo in collections.deque versions: Python 3.7 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue36830> _______________________________________

Karthikeyan Singaravelan <tir.karthi@gmail.com> added the comment: 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()). ---------- nosy: +xtreak _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue36830> _______________________________________

Stéphane Wirtel <stephane@wirtel.be> added the comment: 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. ---------- nosy: +matrixise, mdk resolution: -> wont fix status: open -> pending _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue36830> _______________________________________

Julien Palard <julien+python@palard.fr> added the comment: 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! ---------- stage: -> resolved status: pending -> closed _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue36830> _______________________________________
participants (4)
-
Julien Palard
-
Karthikeyan Singaravelan
-
keroru
-
Stéphane Wirtel