PollFlags#

class PollFlags(value)[source]#

Bases: IntFlag

Flags for polling Command.

DETECT_AND_THROW(12):

Detect data loss holes and throw EOFError exception

DETECT(8):

Detect data loss holes

FILL(1):

Fill holes

DEFAULT(0):

No Flags

Can be combined with bitwise operations

>>> PollFlags.FILL | PollFlags.DETECT
    <PollFlags.DETECT|FILL: 9>

Attributes