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

Method isblk

Lib/tarfile.py:1701–1703  ·  view source on GitHub ↗

Return True if it is a block device.

(self)

Source from the content-addressed store, hash-verified

1699 return self.type == CHRTYPE
1700
1701 def isblk(self):
1702 'Return True if it is a block device.'
1703 return self.type == BLKTYPE
1704
1705 def isfifo(self):
1706 'Return True if it is a FIFO.'

Callers 3

listMethod · 0.80
_extract_memberMethod · 0.80
makedevMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected