@@ -230,7 +230,7 @@ public Collection<? extends Snippet> createExpressions(Context context) {
230
230
231
231
addExpressionSnippet (context , snippets , "/" , "lambda x, y: x / y" , NUMBER , PDivByZeroVerifier .INSTANCE , union (BOOLEAN , NUMBER ), union (BOOLEAN , NUMBER ));
232
232
233
- addExpressionSnippet (context , snippets , "list-from-foreign" , "lambda x: list(x)" , array (ANY ), union (STRING , iterable (ANY ), iterator (ANY ), array (ANY )));
233
+ // addExpressionSnippet(context, snippets, "list-from-foreign", "lambda x: list(x)", array(ANY), union(STRING, iterable(ANY), iterator(ANY), array(ANY)));
234
234
235
235
addExpressionSnippet (context , snippets , "==" , "lambda x, y: x == y" , BOOLEAN , ANY , ANY );
236
236
addExpressionSnippet (context , snippets , "!=" , "lambda x, y: x != y" , BOOLEAN , ANY , ANY );
@@ -265,10 +265,10 @@ public Collection<? extends Snippet> createStatements(Context context) {
265
265
" return False\n \n " +
266
266
"gen_if" , BOOLEAN , ANY );
267
267
268
- addStatementSnippet (context , snippets , "for" , "def gen_for(l):\n " +
269
- " for x in l:\n " +
270
- " return x\n \n " +
271
- "gen_for" , ANY , union (array (ANY ), iterable (ANY ), iterator (ANY ), STRING ));
268
+ // addStatementSnippet(context, snippets, "for", "def gen_for(l):\n" +
269
+ // " for x in l:\n" +
270
+ // " return x\n\n" +
271
+ // "gen_for", ANY, union(array(ANY), iterable(ANY), iterator(ANY), STRING));
272
272
273
273
// any exception honours the finally block, but non-exception cannot be raised
274
274
addStatementSnippet (context , snippets , "try-finally" , "def gen_tryfinally(exc):\n " +
0 commit comments