Skip to content

Library page for os now seems to have almost the whole module being a "Note" #95659

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
juliangilbey opened this issue Aug 4, 2022 · 2 comments
Labels
docs Documentation in the Doc dir

Comments

@juliangilbey
Copy link
Contributor

Documentation

Something seems to be wrong with the formatting of this page. There's nothing obvious in the source code, though, which suggests why this might be the case. Here's a snapshot:

os-snapshot

The greyed Note region should just be one paragraph.

@juliangilbey juliangilbey added the docs Documentation in the Doc dir label Aug 4, 2022
@juliangilbey
Copy link
Contributor Author

Oh, I should have looked at the HTML as well. It's really strange:

<div class="admonition note">
<p class="admonition-title">Note</p>
<p>All functions in this module raise <a class="reference internal" href="[exceptions.html#OSError](view-source:https://docs.python.org/3/library/exceptions.html#OSError)" title="OSError"><code class="xref py py-exc docutils literal notranslate"><span class="pre">OSError</span></code></a> (or subclasses thereof) in
the case of invalid or inaccessible file names and paths, or other arguments
that have the correct type, but are not accepted by the operating system.</p>
</aside>

What is that </aside> tag about? It should be </div>.

@erlend-aasland
Copy link
Contributor

Thanks for the report. This is a duplicate of #91483.

@erlend-aasland erlend-aasland closed this as not planned Won't fix, can't repro, duplicate, stale Aug 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

No branches or pull requests

2 participants