summaryrefslogtreecommitdiff
path: root/Objects/typeslots.py
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-05-11 22:57:16 -0400
committerYury Selivanov <yselivanov@sprymix.com>2015-05-11 22:57:16 -0400
commitea639832c36905ecb07caba111f614c4bbf9bdd6 (patch)
treeb1e24bb312d8c2cd302e49282707b5bd952714c8 /Objects/typeslots.py
parent94240635a6a981ddbb60010bf7472bbbb5e52e2e (diff)
downloadcpython-ea639832c36905ecb07caba111f614c4bbf9bdd6.tar.gz
PEP 0492 -- Coroutines with async and await syntax. Issue #24017.
Diffstat (limited to 'Objects/typeslots.py')
-rwxr-xr-xObjects/typeslots.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Objects/typeslots.py b/Objects/typeslots.py
index b24c7f4040..ba37c40397 100755
--- a/Objects/typeslots.py
+++ b/Objects/typeslots.py
@@ -12,6 +12,8 @@ for line in sys.stdin:
member = m.group(1)
if member.startswith("tp_"):
member = "ht_type."+member
+ elif member.startswith("am_"):
+ member = "as_async."+member
elif member.startswith("nb_"):
member = "as_number."+member
elif member.startswith("mp_"):