File tree Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -23,18 +23,14 @@ fn rlock_enter(vm: &VirtualMachine, args: PyFuncArgs) -> PyResult {
23
23
Ok ( instance. clone ( ) )
24
24
}
25
25
26
- fn rlock_exit ( vm : & VirtualMachine , args : PyFuncArgs ) -> PyResult {
27
- arg_check ! (
28
- vm,
29
- args,
30
- // The context manager protocol requires these, but we don't use them
31
- required = [
32
- ( _instance, None ) ,
33
- ( _exception_type, None ) ,
34
- ( _exception_value, None ) ,
35
- ( _traceback, None )
36
- ]
37
- ) ;
26
+ fn rlock_exit (
27
+ // The context manager protocol requires these, but we don't use them
28
+ _instance : PyObjectRef ,
29
+ _exception_type : PyObjectRef ,
30
+ _exception_value : PyObjectRef ,
31
+ _traceback : PyObjectRef ,
32
+ vm : & VirtualMachine ,
33
+ ) -> PyResult {
38
34
Ok ( vm. get_none ( ) )
39
35
}
40
36
You can’t perform that action at this time.
0 commit comments