[docs] [issue37554] Typo in os.rename docs

Roy Wellington report at bugs.python.org
Wed Jul 10 22:09:44 EDT 2019

New submission from Roy Wellington <cactus_hugged at yahoo.com>:

The documentation for os.rename (e.g., here, https://docs.python.org/3/library/os.html#os.rename but also for 3.8 and 3.9) currently reads,

> On Unix, if src is a file and dst is a directory or vice-versa, anq:q IsADirectoryError or a NotADirectoryError will be raised respectively.

That "anq:q" should probably be just "an"; it appears someone tried to quit vim ;-)

assignee: docs at python
components: Documentation
messages: 347647
nosy: docs at python, roy.wellington
priority: normal
severity: normal
status: open
title: Typo in os.rename docs
versions: Python 3.7, Python 3.8, Python 3.9

Python tracker <report at bugs.python.org>

More information about the docs mailing list