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
181181 coexist.
182182
183183 *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.
185186
186187 The argument *workers * specifies how many workers are used to
187188 compile files in parallel. The default is to not use multiple workers.
@@ -256,7 +257,8 @@ Public functions
256257 coexist.
257258
258259 *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.
260262
261263 *invalidation_mode * should be a member of the
262264 :class: `py_compile.PycInvalidationMode ` enum and controls how the generated
You can’t perform that action at this time.
0 commit comments