Lines Matching defs:extract
275 """General exception for extract errors."""
2262 to extract to. `members' is optional and must be a subset of the
2302 def extract(self, member, path="", set_attrs=True, *, numeric_owner=False,
2397 # to extract a (sym)link as a file-object from a non-seekable
2399 raise StreamError("cannot extract (sym)link as file object")
2454 # _extract_member() when extract() is called. They can be replaced in a
2836 group.add_argument('-e', '--extract', nargs='+',
2847 if args.filter and args.extract is None:
2869 elif args.extract is not None:
2870 if len(args.extract) == 1:
2871 src = args.extract[0]
2873 elif len(args.extract) == 2:
2874 src, curdir = args.extract