diff options
author | Yury Selivanov <yury@magic.io> | 2016-11-08 15:15:42 -0500 |
---|---|---|
committer | Yury Selivanov <yury@magic.io> | 2016-11-08 15:15:42 -0500 |
commit | 0ee446c8941cbc169230fc098bec5dfb9a56c0b9 (patch) | |
tree | 45820eba8b655702a26c36fe82ad929f92da9ef6 /Python | |
parent | 64d84c60e28dc4d9d08286e290e7bab26526bb6c (diff) | |
parent | 2edd8a1e2cd22f8ba46e108ff213bec8c5f86459 (diff) | |
download | cpython-git-0ee446c8941cbc169230fc098bec5dfb9a56c0b9.tar.gz |
Merge 3.6 (issue #27243)
Diffstat (limited to 'Python')
-rw-r--r-- | Python/ceval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index 2df94cfa80..6b05de6582 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -1917,7 +1917,7 @@ _PyEval_EvalFrameDefault(PyFrameObject *f, int throwflag) Py_DECREF(iter); if (PyErr_WarnFormat( - PyExc_PendingDeprecationWarning, 1, + PyExc_DeprecationWarning, 1, "'%.100s' implements legacy __aiter__ protocol; " "__aiter__ should return an asynchronous " "iterator, not awaitable", |