File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -181,7 +181,8 @@ Public functions
181
181
coexist.
182
182
183
183
*optimize * specifies the optimization level for the compiler. It is passed to
184
- the built-in :func: `compile ` function.
184
+ the built-in :func: `compile ` function. Accepts also a sequence of optimization
185
+ levels which lead to multiple compilations of one :file: `.py ` file in one call.
185
186
186
187
The argument *workers * specifies how many workers are used to
187
188
compile files in parallel. The default is to not use multiple workers.
@@ -256,7 +257,8 @@ Public functions
256
257
coexist.
257
258
258
259
*optimize * specifies the optimization level for the compiler. It is passed to
259
- the built-in :func: `compile ` function.
260
+ the built-in :func: `compile ` function. Accepts also a sequence of optimization
261
+ levels which lead to multiple compilations of one :file: `.py ` file in one call.
260
262
261
263
*invalidation_mode * should be a member of the
262
264
:class: `py_compile.PycInvalidationMode ` enum and controls how the generated
You can’t perform that action at this time.
0 commit comments