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.rst419 .. method:: ZipFile.writestr(zinfo_or_arcname, data, compress_type=None, \
424 it is encoded as UTF-8 first. *zinfo_or_arcname* is either the file
431 parameter to the constructor for the new entry, or in the *zinfo_or_arcname*
437 When passing a :class:`ZipInfo` instance as the *zinfo_or_arcname* parameter,
/external/python/cpython3/Lib/
Dzipfile.py1772 def writestr(self, zinfo_or_arcname, data, argument
1781 if not isinstance(zinfo_or_arcname, ZipInfo):
1782 zinfo = ZipInfo(filename=zinfo_or_arcname,
1792 zinfo = zinfo_or_arcname