-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
gh-73487: Convert _decimal to use Argument Clinic (part 5) #137948
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
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2cb6b67
to
f1ee85f
Compare
@@ -923,14 +923,34 @@ context_getallcr(PyObject *self, void *Py_UNUSED(closure)) | |||
} | |||
#endif | |||
|
|||
/*[clinic input] | |||
_decimal.Context.Etiny |
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 not merge this with part 4?
@@ -3149,21 +3169,29 @@ PyDec_FromObject(PyObject *v, PyObject *context) | |||
} | |||
} | |||
|
|||
/*[clinic input] | |||
@classmethod | |||
_decimal.Decimal.__new__ as dec_new |
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.
Wasn't it in part 4?
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.
I think this branch includes the changes from pt4, GH is bad at 'stacked' changes like this.
Uh oh!
There was an error while loading. Please reload this page.