Przeglądaj źródła

[python] add "delattr" to soft-keywords (see a1795a4f38567479c642eb44573af8d600eea876)

Dan Korostelev 10 lat temu
rodzic
commit
0c2c00709e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      genpy.ml

+ 1 - 1
genpy.ml

@@ -79,7 +79,7 @@ module KeywordHandler = struct
 		let h = Hashtbl.create 0 in
 		List.iter (fun s -> Hashtbl.add h s ()) [
 			"len"; "int"; "float"; "list"; "bool"; "str"; "isinstance"; "print"; "min"; "max";
-			"hasattr"; "getattr"; "setattr"; "callable"; "type"; "ord"; "chr"; "iter"; "map"; "filter";
+			"hasattr"; "getattr"; "setattr"; "delattr"; "callable"; "type"; "ord"; "chr"; "iter"; "map"; "filter";
 			"tuple"; "dict"; "set";
 		];
 		h