We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1404935 commit 23acee9Copy full SHA for 23acee9
crates/vm/src/stdlib/ast/other.rs
@@ -14,10 +14,13 @@ impl Node for ruff::ConversionFlag {
14
) -> PyResult<Self> {
15
i32::try_from_object(vm, object)?
16
.to_u32()
17
- .and_then(bytecode::ConversionFlag::from_op_arg)
+ .and_then(
18
+ bytecode::ConversionFlag::from_op_arg)
19
.map(|flag| match flag {
- bytecode::ConversionFlag::None => Self::None,
20
- bytecode::ConversionFlag::Str => Self::Str,
+ bytecode::ConversionFlag::None =>
21
+ Self::None,
22
+ bytecode::ConversionFlag::Str =>
23
+ Self::Str,
24
bytecode::ConversionFlag::Ascii => Self::Ascii,
25
bytecode::ConversionFlag::Repr => Self::Repr,
26
})
0 commit comments