Files
openide/python/testData/quickFixes/RenameElementQuickFixTest/renameAwaitFunctionInPy35.py
T
Semyon Proshev 42fc094e4e PY-16098 Fixed: Warn that async and await will become keywords in Python 3.7
Warn about variables, classes and functions called "await" or "async" in Pythons 3.5 and 3.6. Suggest quick fix to rename such nodes
2016-10-07 12:21:53 +03:00

2 lines
200 B
Python

def <warning descr="'async' and 'await' are not recommended to be used as variable, class, function or module names. They will become proper keywords in Python 3.7.">a<caret>wait</warning>():
pass