Skip to content

Commit de566cb

Browse files
author
lidong
committed
fix main.py docs
1 parent 21a9bda commit de566cb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

zipapps/main.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from pkgutil import get_data
1616
from zipfile import ZIP_DEFLATED, ZIP_STORED, BadZipFile, ZipFile
1717

18-
__version__ = '2023.06.04'
18+
__version__ = '2023.09.12'
1919

2020

2121
def get_pip_main(ensurepip_root=None):
@@ -137,19 +137,19 @@ def __init__(
137137
:param python_version_slice: Only work for lazy-install mode, then `pip` target folders differ according to sys.version_info[:_slice], defaults to 2, which means 3.8.3 equals to 3.8.4 for same version accuracy 3.8, defaults to 2
138138
:type python_version_slice: int, optional
139139
:param ensure_pip: Add the ensurepip package to your pyz file, works for embed-python(windows) or other python versions without `pip` installed but `lazy-install` mode is enabled.
140-
:type includes: bool, optional
140+
:type ensure_pip: bool, optional
141141
:param layer_mode: Layer mode for the serverless use case, __main__.py / ensure_zipapps.py / activate_zipapps.py files will not be set in this mode, which means it will skip the activative process.
142-
:type includes: bool, optional
142+
:type layer_mode: bool, optional
143143
:param layer_mode_prefix: Only work while --layer-mode is set, will move the files in the given prefix folder.
144-
:type includes: str, optional
144+
:type layer_mode_prefix: str, optional
145145
:param clear_zipapps_cache: Clear the zipapps cache folder after running, but maybe failed for .pyd/.so files.
146-
:type includes: bool, optional
146+
:type clear_zipapps_cache: bool, optional
147147
:param unzip_exclude: names not to be unzip, defaults to '', should be used with unzip. Can be overwrite with environment variable `ZIPAPPS_UNZIP_EXCLUDE`
148148
:type unzip_exclude: str, optional
149149
:param chmod: os.chmod(int(chmod, 8)) for unzip files with `--chmod=777`, unix-like system only
150150
:type chmod: str, optional
151151
:param clear_zipapps_self: Clear the zipapps pyz file after running.
152-
:type includes: bool, optional
152+
:type clear_zipapps_self: bool, optional
153153
"""
154154
self.includes = includes
155155
self.cache_path = cache_path

0 commit comments

Comments
 (0)