From 0a6a412fb27d6874a0db5cc82a97f54d7c5fd0f2 Mon Sep 17 00:00:00 2001 From: Henry Chen Date: Sun, 3 Mar 2019 06:35:24 -0800 Subject: [PATCH] bpo-36091: Remove reference to async generator in Lib/types.py. (GH-11996) --- Lib/types.py | 2 +- .../next/Library/2019-02-23-06-49-06.bpo-36091.26o4Lc.rst | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 Misc/NEWS.d/next/Library/2019-02-23-06-49-06.bpo-36091.26o4Lc.rst diff --git a/Lib/types.py b/Lib/types.py index 53b588da756..cf643088ea9 100644 --- a/Lib/types.py +++ b/Lib/types.py @@ -62,7 +62,7 @@ except TypeError: GetSetDescriptorType = type(FunctionType.__code__) MemberDescriptorType = type(FunctionType.__globals__) -del sys, _f, _g, _C, _c, # Not for export +del sys, _f, _g, _C, _c, _ag # Not for export # Provide a PEP 3115 compliant mechanism for class creation diff --git a/Misc/NEWS.d/next/Library/2019-02-23-06-49-06.bpo-36091.26o4Lc.rst b/Misc/NEWS.d/next/Library/2019-02-23-06-49-06.bpo-36091.26o4Lc.rst new file mode 100644 index 00000000000..582be449376 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2019-02-23-06-49-06.bpo-36091.26o4Lc.rst @@ -0,0 +1 @@ +Clean up reference to async generator in Lib/types. Patch by Henry Chen. \ No newline at end of file