MCPcopy Index your code
hub / github.com/python/cpython / strip

Method strip

Lib/zipfile/__init__.py:226–232  ·  view source on GitHub ↗

Remove Extra fields with specified IDs.

(cls, data, xids)

Source from the content-addressed store, hash-verified

224
225 @classmethod
226 def strip(cls, data, xids):
227 """Remove Extra fields with specified IDs."""
228 return b''.join(
229 ex
230 for ex in cls.split(data)
231 if ex.id not in xids
232 )
233
234
235def _check_zipfile(fp):

Callers 15

get_diff_filesFunction · 0.45
get_para_line_numbersFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
parse_opcode_signatureFunction · 0.45
parse_platformsMethod · 0.45
runMethod · 0.45
runMethod · 0.45
read_refcount_dataFunction · 0.45
read_threadsafety_dataFunction · 0.45
list_devicesFunction · 0.45

Calls 2

joinMethod · 0.45
splitMethod · 0.45

Tested by 5

_find_linenoMethod · 0.36
test_file_buttonsMethod · 0.36
_subprocess_outputMethod · 0.36