File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -40,17 +40,17 @@ def cpython_feature(ext=True, binding=Binding.PyO3):
40
40
elif binding is Binding .PyO3 :
41
41
if version > (3 , 5 ):
42
42
if ext :
43
- return ( "pyo3/extension-module" )
43
+ return { "pyo3/extension-module" }
44
44
else :
45
- return ()
45
+ return {}
46
46
else :
47
47
raise DistutilsPlatformError ("Unsupported python version: %s" % sys .version )
48
48
elif binding is Binding .RustCPython :
49
49
if (3 , 3 ) < version :
50
50
if ext :
51
- return ( "cpython/python3-sys" , "cpython/extension-module" )
51
+ return { "cpython/python3-sys" , "cpython/extension-module" }
52
52
else :
53
- return ( "cpython/python3-sys" ,)
53
+ return { "cpython/python3-sys" }
54
54
else :
55
55
raise DistutilsPlatformError ("Unsupported python version: %s" % sys .version )
56
56
else :
You can’t perform that action at this time.
0 commit comments