Home
last modified time | relevance | path

Searched refs:zinfo_or_arcname (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Lib/
Dzipfile.py1208 def writestr(self, zinfo_or_arcname, bytes, compress_type=None): argument
1212 if not isinstance(zinfo_or_arcname, ZipInfo):
1213 zinfo = ZipInfo(filename=zinfo_or_arcname,
1223 zinfo = zinfo_or_arcname
/external/python/cpython2/Doc/library/
Dzipfile.rst309 .. method:: ZipFile.writestr(zinfo_or_arcname, bytes[, compress_type])
311 Write the string *bytes* to the archive; *zinfo_or_arcname* is either the file
320 parameter to the constructor for the new entry, or in the *zinfo_or_arcname*
325 When passing a :class:`ZipInfo` instance as the *zinfo_or_arcname* parameter,
/external/python/cpython3/Doc/library/
Dzipfile.rst415 .. method:: ZipFile.writestr(zinfo_or_arcname, data, compress_type=None, \
420 it is encoded as UTF-8 first. *zinfo_or_arcname* is either the file
427 parameter to the constructor for the new entry, or in the *zinfo_or_arcname*
433 When passing a :class:`ZipInfo` instance as the *zinfo_or_arcname* parameter,
/external/python/cpython3/Lib/
Dzipfile.py1764 def writestr(self, zinfo_or_arcname, data, argument
1773 if not isinstance(zinfo_or_arcname, ZipInfo):
1774 zinfo = ZipInfo(filename=zinfo_or_arcname,
1784 zinfo = zinfo_or_arcname