Skip to content

bpo-26836: Document os.memfd_create() name parameter#13838

Merged
miss-islington merged 1 commit intopython:masterfrom
vstinner:memfd_doc
Jun 5, 2019
Merged

bpo-26836: Document os.memfd_create() name parameter#13838
miss-islington merged 1 commit intopython:masterfrom
vstinner:memfd_doc

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Jun 5, 2019

@vstinner
Copy link
Member Author

vstinner commented Jun 5, 2019

Oh, I missed the "name" parameter of memfd_create().

The documentation starts with "Create an anonymous file":
https://docs.python.org/dev/library/os.html#os.memfd_create

Wait, an anonymous file... which has a name? IMHO it would help to document the purpose of the name parameter :-) This PR just copy/paste the paragraph from the manual page into Python doc.

@vstinner
Copy link
Member Author

vstinner commented Jun 5, 2019

cc @ZackerySpytz

@miss-islington
Copy link
Contributor

@vstinner: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit ccf0efb into python:master Jun 5, 2019
@miss-islington
Copy link
Contributor

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-13839 is a backport of this pull request to the 3.8 branch.

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 skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants