File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -2903,15 +2903,9 @@ impl Compiler {
29032903 for feature in features {
29042904 match feature. name . as_str ( ) {
29052905 // Python 3 features; we've already implemented them by default
2906- "nested_scopes"
2907- | "generators"
2908- | "division"
2909- | "absolute_import"
2910- | "with_statement"
2911- | "print_function"
2912- | "unicode_literals"
2913- | "compile_future_features" => { }
2914- "generator_stop" => { }
2906+ "nested_scopes" | "generators" | "division" | "absolute_import"
2907+ | "with_statement" | "print_function" | "unicode_literals"
2908+ | "compile_future_features" | "generator_stop" => { }
29152909 "annotations" => self . future_annotations = true ,
29162910 other => {
29172911 return Err ( self . error ( CodegenErrorType :: InvalidFutureFeature ( other. to_owned ( ) ) ) )
You can’t perform that action at this time.
0 commit comments