File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ Set option value. For example::
132132 - 1: only rename position-only arguments
133133 - 2: rename all the arguments except keyword-only arguments
134134 - 3: rename all the arguments
135- * - enable_auto_export
135+ * - auto_export_mode
136136 - Bool
137137 - 0
138138 - Export all the names list in the module attribute `__all__ `
Original file line number Diff line number Diff line change @@ -155,9 +155,9 @@ First create one project with package `tomjson`::
155155
156156Because the package will be imported by outer scripts, the exported classes and functions can't be renamed
157157
158- In order to keep these names, one way is to enable option `enable_auto_export `::
158+ In order to keep these names, one way is to enable option `auto_export_mode `::
159159
160- $ pyarmor env -p set rft:enable_auto_export 1
160+ $ pyarmor env -p set rft:auto_export_mode 1
161161
162162Thus all the names list in the module attribute ``__all__ `` aren't changed, and
163163
Original file line number Diff line number Diff line change 132132 - 1: 仅重命名 posonly 参数
133133 - 2: 仅保留 kwonly 的参数名称,其他都重命名
134134 - 3: 重命名所有函数的参数(默认值)
135- * - enable_auto_export
135+ * - auto_export_mode
136136 - 布尔
137137 - 0
138138 - 是否输出模块属性 `__all__ ` 中列出的名称
Original file line number Diff line number Diff line change @@ -159,9 +159,9 @@ Pyarmor 发布在 PyPI 上面,使用下面的命令直接安装::
159159
160160因为外部模块需要导入包中的类和函数,所以这些输出的名称不能进行重命名
161161
162- 这就需要启用自动输出选项 `enable_auto_export `::
162+ 这就需要启用自动输出选项 `auto_export_mode `::
163163
164- $ pyarmor env -p set rft:enable_auto_export 1
164+ $ pyarmor env -p set rft:auto_export_mode 1
165165
166166这样的话,模块属性 ``__all__ `` 中列出的名称不会被重命名
167167
You can’t perform that action at this time.
0 commit comments