summaryrefslogtreecommitdiffstats
path: root/Lib/test/inspect_fodder.py
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-07-21 16:01:52 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2015-07-21 16:01:52 (GMT)
commite4e811d65b51478392a7c69e83b38c6930012eb7 (patch)
tree36228ce64ec8a50737933259ac9aa33cffd68faf /Lib/test/inspect_fodder.py
parent036a71bf25b84fab72b023eaf9591e9c16ae2c52 (diff)
downloadcpython-e4e811d65b51478392a7c69e83b38c6930012eb7.zip
cpython-e4e811d65b51478392a7c69e83b38c6930012eb7.tar.gz
cpython-e4e811d65b51478392a7c69e83b38c6930012eb7.tar.bz2
Issue #24669: Fix inspect.getsource() for 'async def' functions.
Patch by Kai Groner.
Diffstat (limited to 'Lib/test/inspect_fodder.py')
-rw-r--r--Lib/test/inspect_fodder.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/inspect_fodder.py b/Lib/test/inspect_fodder.py
index 6f0cad9..068d825 100644
--- a/Lib/test/inspect_fodder.py
+++ b/Lib/test/inspect_fodder.py
@@ -66,3 +66,6 @@ class FesteringGob(MalodorousPervert, ParrotDroppings):
pass
def contradiction(self):
pass
+
+async def lobbest(grenade):
+ pass