| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| #ifndef Py_INTERNAL_ITEROBJECT_H | ||
| #define Py_INTERNAL_ITEROBJECT_H | ||
| #ifdef __cplusplus | ||
| extern "C" { | ||
| #endif | ||
|
|
||
| #ifndef Py_BUILD_CORE | ||
| # error "this header requires Py_BUILD_CORE define" | ||
| #endif | ||
|
|
||
| extern PyTypeObject _PyACallIter_Type; | ||
| extern PyTypeObject _PyACallIterAwaitable_Type; | ||
|
|
||
| // Like PyCallIter_New(), but the iteration also stops when *callable* raises | ||
| // an exception matching *stop_exc* (an exception class or a tuple of exception | ||
| // classes). *sentinel* can be NULL; NULL *stop_exc* means StopIteration. | ||
| extern PyObject *_PyCallIter_NewEx(PyObject *callable, PyObject *sentinel, | ||
| PyObject *stop_exc); | ||
|
|
||
| // The asynchronous counterpart of _PyCallIter_NewEx(): the result of | ||
| // *callable* is awaited, and NULL *stop_exc* means StopAsyncIteration. | ||
| extern PyObject *_PyACallIter_New(PyObject *callable, PyObject *sentinel, | ||
| PyObject *stop_exc); | ||
|
|
||
| #ifdef __cplusplus | ||
| } | ||
| #endif | ||
| #endif /* !Py_INTERNAL_ITEROBJECT_H */ |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Back | FazBrowse Home | New Git URL |
Uh oh!
There was an error while loading. Please reload this page.