@@ -230,7 +230,7 @@ public Collection<? extends Snippet> createExpressions(Context context) {
230230
231231 addExpressionSnippet (context , snippets , "/" , "lambda x, y: x / y" , NUMBER , PDivByZeroVerifier .INSTANCE , union (BOOLEAN , NUMBER ), union (BOOLEAN , NUMBER ));
232232
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)));
234234
235235 addExpressionSnippet (context , snippets , "==" , "lambda x, y: x == y" , BOOLEAN , ANY , ANY );
236236 addExpressionSnippet (context , snippets , "!=" , "lambda x, y: x != y" , BOOLEAN , ANY , ANY );
@@ -265,10 +265,10 @@ public Collection<? extends Snippet> createStatements(Context context) {
265265 " return False\n \n " +
266266 "gen_if" , BOOLEAN , ANY );
267267
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));
272272
273273 // any exception honours the finally block, but non-exception cannot be raised
274274 addStatementSnippet (context , snippets , "try-finally" , "def gen_tryfinally(exc):\n " +
0 commit comments