Skip to content
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

bpo-30059: Py_Ellipsis in C API documentation #1018

Merged
merged 3 commits into from
Apr 14, 2017
Merged

bpo-30059: Py_Ellipsis in C API documentation #1018

merged 3 commits into from
Apr 14, 2017

Conversation

MSeifert04
Copy link
Contributor

@MSeifert04 MSeifert04 commented Apr 6, 2017

As far as I have seen there is no mention of it anywhere. And it's defined along with sliceobject so I included it in the documentation there. FWIW: most of the added documentation is copied from Py_None.

@mention-bot
Copy link

@MSeifert04, thanks for your PR! By analyzing the history of the files in this pull request, we identified @birkenfeld, @ashemedai and @loewis to be potential reviewers.

Copy link
Contributor

@ashemedai ashemedai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to have it documented.

Maybe add details from something like http://stackoverflow.com/a/773472/276047 to explain just what it is for?

@MSeifert04
Copy link
Contributor Author

@ashemedai Thank you for the feedback.

But I don't think the C API would be the best place to explain what it is for. Shouldn't that rather be explained and documented in constants.Ellipsis?

@ashemedai
Copy link
Contributor

@MSeifert04 Good point. It's been a while since I looked through the entirety of the documentation. You might be right there, yes.

@MSeifert04 MSeifert04 changed the title Py_Ellipsis in C API documentation bpo-30059: Py_Ellipsis in C API documentation Apr 12, 2017
@serhiy-storchaka serhiy-storchaka self-requested a review April 12, 2017 19:01
@serhiy-storchaka serhiy-storchaka added docs Documentation in the Doc dir needs backport to 2.7 labels Apr 12, 2017
@@ -1,5 +1,16 @@
.. highlightlang:: c

Ellipsis Object
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the file is called slice.rst and slices are more used than Ellipsis I think Slice Objects should be before Ellipsis Object.

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

Successfully merging this pull request may close these issues.

6 participants