Skip to content

pathlib has no docstring #93654

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
RhysU opened this issue Jun 9, 2022 · 2 comments
Closed

pathlib has no docstring #93654

RhysU opened this issue Jun 9, 2022 · 2 comments
Labels
3.12 only security fixes docs Documentation in the Doc dir easy topic-pathlib type-feature A feature request or enhancement

Comments

@RhysU
Copy link

RhysU commented Jun 9, 2022

Documentation

Oddly, pathlib has no docstring: https://github.com/python/cpython/blob/main/Lib/pathlib.py

>>> import pathlib
>>> type(pathlib.__doc__)
<class 'NoneType'>
@RhysU RhysU added the docs Documentation in the Doc dir label Jun 9, 2022
@RhysU
Copy link
Author

RhysU commented Jun 9, 2022

This module offers classes representing filesystem paths with semantics appropriate for different operating systems. or some shortened version thereof is probably sensible, lifting from https://docs.python.org/3/library/pathlib.html#module-pathlib

@AA-Turner
Copy link
Member

The first 0.1 release on PyPI didn't have a docstring either! (https://pypi.org/project/pathlib/0.1/#files)

cc: @pitrou @barneygale

A

@AA-Turner AA-Turner added type-feature A feature request or enhancement topic-IO 3.12 only security fixes labels Jun 9, 2022
@pitrou pitrou removed the topic-IO label Jun 9, 2022
kj7rrv added a commit to kj7rrv/cpython that referenced this issue Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.12 only security fixes docs Documentation in the Doc dir easy topic-pathlib type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

5 participants