diff --git a/python/pluginResources/postfixTemplates/PyForEnumeratePostfixTemplate/after.py.template b/python/pluginResources/postfixTemplates/PyForEnumeratePostfixTemplate/after.py.template new file mode 100644 index 000000000000..6b288820f54a --- /dev/null +++ b/python/pluginResources/postfixTemplates/PyForEnumeratePostfixTemplate/after.py.template @@ -0,0 +1,3 @@ +def f(a): + for i, e in enumerate(a): + \ No newline at end of file diff --git a/python/pluginResources/postfixTemplates/PyForEnumeratePostfixTemplate/before.py.template b/python/pluginResources/postfixTemplates/PyForEnumeratePostfixTemplate/before.py.template new file mode 100644 index 000000000000..bd6f71f8b786 --- /dev/null +++ b/python/pluginResources/postfixTemplates/PyForEnumeratePostfixTemplate/before.py.template @@ -0,0 +1,2 @@ +def f(a): + a.enum \ No newline at end of file diff --git a/python/pluginResources/postfixTemplates/PyForEnumeratePostfixTemplate/description.html b/python/pluginResources/postfixTemplates/PyForEnumeratePostfixTemplate/description.html new file mode 100644 index 000000000000..374b5154b7f8 --- /dev/null +++ b/python/pluginResources/postfixTemplates/PyForEnumeratePostfixTemplate/description.html @@ -0,0 +1,5 @@ + + +Iterates over the enumeration of the expression as source in the for statement. + + \ No newline at end of file