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

Method listxattr

Lib/test/test_os/test_os.py:3832–3834  ·  view source on GitHub ↗
(path, *args)

Source from the content-addressed store, hash-verified

3830 with open(path, "wb", 0) as fp:
3831 os.removexattr(fp.fileno(), *args)
3832 def listxattr(path, *args):
3833 with open(path, "rb") as fp:
3834 return os.listxattr(fp.fileno(), *args)
3835 self._check_xattrs(getxattr, setxattr, removexattr, listxattr)
3836
3837

Callers 3

_copyxattrFunction · 0.80
_xattrsMethod · 0.80
test_copyxattrMethod · 0.80

Calls 2

openFunction · 0.50
filenoMethod · 0.45

Tested by

no test coverage detected