@@ -1653,8 +1653,8 @@ impl ToPyAst for ast::StmtPass<TextRange> {
1653
1653
fn to_py_ast < ' py > ( & self , py : Python < ' py > ) -> PyResult < & ' py PyAny > {
1654
1654
let cache = Self :: py_type_cache ( ) . get ( ) . unwrap ( ) ;
1655
1655
1656
- let instance = Py :: < PyAny > :: as_ref ( & cache. 0 , py) . call0 ( ) ?;
1657
1656
let Self { range : _range } = self ;
1657
+ let instance = Py :: < PyAny > :: as_ref ( & cache. 0 , py) . call0 ( ) ?;
1658
1658
1659
1659
Ok ( instance)
1660
1660
}
@@ -1665,8 +1665,8 @@ impl ToPyAst for ast::StmtBreak<TextRange> {
1665
1665
fn to_py_ast < ' py > ( & self , py : Python < ' py > ) -> PyResult < & ' py PyAny > {
1666
1666
let cache = Self :: py_type_cache ( ) . get ( ) . unwrap ( ) ;
1667
1667
1668
- let instance = Py :: < PyAny > :: as_ref ( & cache. 0 , py) . call0 ( ) ?;
1669
1668
let Self { range : _range } = self ;
1669
+ let instance = Py :: < PyAny > :: as_ref ( & cache. 0 , py) . call0 ( ) ?;
1670
1670
1671
1671
Ok ( instance)
1672
1672
}
@@ -1677,8 +1677,8 @@ impl ToPyAst for ast::StmtContinue<TextRange> {
1677
1677
fn to_py_ast < ' py > ( & self , py : Python < ' py > ) -> PyResult < & ' py PyAny > {
1678
1678
let cache = Self :: py_type_cache ( ) . get ( ) . unwrap ( ) ;
1679
1679
1680
- let instance = Py :: < PyAny > :: as_ref ( & cache. 0 , py) . call0 ( ) ?;
1681
1680
let Self { range : _range } = self ;
1681
+ let instance = Py :: < PyAny > :: as_ref ( & cache. 0 , py) . call0 ( ) ?;
1682
1682
1683
1683
Ok ( instance)
1684
1684
}
@@ -3429,8 +3429,8 @@ impl ToPyAst for ast::StmtPass<SourceRange> {
3429
3429
fn to_py_ast < ' py > ( & self , py : Python < ' py > ) -> PyResult < & ' py PyAny > {
3430
3430
let cache = Self :: py_type_cache ( ) . get ( ) . unwrap ( ) ;
3431
3431
3432
- let instance = Py :: < PyAny > :: as_ref ( & cache. 0 , py) . call0 ( ) ?;
3433
3432
let Self { range : _range } = self ;
3433
+ let instance = Py :: < PyAny > :: as_ref ( & cache. 0 , py) . call0 ( ) ?;
3434
3434
3435
3435
let cache = ast_cache ( ) ;
3436
3436
instance. setattr ( cache. lineno . as_ref ( py) , _range. start . row . get ( ) ) ?;
@@ -3449,8 +3449,8 @@ impl ToPyAst for ast::StmtBreak<SourceRange> {
3449
3449
fn to_py_ast < ' py > ( & self , py : Python < ' py > ) -> PyResult < & ' py PyAny > {
3450
3450
let cache = Self :: py_type_cache ( ) . get ( ) . unwrap ( ) ;
3451
3451
3452
- let instance = Py :: < PyAny > :: as_ref ( & cache. 0 , py) . call0 ( ) ?;
3453
3452
let Self { range : _range } = self ;
3453
+ let instance = Py :: < PyAny > :: as_ref ( & cache. 0 , py) . call0 ( ) ?;
3454
3454
3455
3455
let cache = ast_cache ( ) ;
3456
3456
instance. setattr ( cache. lineno . as_ref ( py) , _range. start . row . get ( ) ) ?;
@@ -3469,8 +3469,8 @@ impl ToPyAst for ast::StmtContinue<SourceRange> {
3469
3469
fn to_py_ast < ' py > ( & self , py : Python < ' py > ) -> PyResult < & ' py PyAny > {
3470
3470
let cache = Self :: py_type_cache ( ) . get ( ) . unwrap ( ) ;
3471
3471
3472
- let instance = Py :: < PyAny > :: as_ref ( & cache. 0 , py) . call0 ( ) ?;
3473
3472
let Self { range : _range } = self ;
3473
+ let instance = Py :: < PyAny > :: as_ref ( & cache. 0 , py) . call0 ( ) ?;
3474
3474
3475
3475
let cache = ast_cache ( ) ;
3476
3476
instance. setattr ( cache. lineno . as_ref ( py) , _range. start . row . get ( ) ) ?;
0 commit comments