-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
reSTify PEP203 and PEP238 #268
Conversation
pep-0203.txt
Outdated
PyNumber_InPlaceXor(PyObject *o1, PyObject *o2); | ||
PyNumber_InPlaceOr(PyObject *o1, PyObject *o2); | ||
PySequence_InPlaceConcat(PyObject *o1, PyObject *o2); | ||
PySequence_InPlaceRepeat(PyObject \*o, int count); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why use the backslash here? Inside a literal *
has no special meaning AFAIK, so no need to escape it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DimitrisJim , thank you so much for catching that! The script converted them automatically and I hadn't checked for ones that needed to be changed back. I've fixed this now and one in PEP238.
pep-0203.txt
Outdated
is purely an implementation limit . The implementation of augmented | ||
assignment requires only ``DUP_TOPX`` with an argument of 2 and 3, and could | ||
do without this new opcode at the cost of a fair number of ``DUP_TOP`` and | ||
``ROT_\*``. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similarly here.
Thanks for the PR, @csabella and the review @DimitrisJim ! |
For #4.