-fetch_action_default = Constant(0x0, fetch_action)
-fetch_action_fence = Constant(0x1, fetch_action)
-fetch_action_jump = Constant(0x2, fetch_action)
-fetch_action_wait = Constant(0x3, fetch_action)
-fetch_action_error_trap = Constant(0x4, fetch_action)
-fetch_action_noerror_trap = Constant(0x5, fetch_action)
-fetch_action_ack_trap = Constant(0x6, fetch_action)
+class FA:
+ """ Fetch action constants
+ """
+ default = Constant(0x0, fetch_action)
+ fence = Constant(0x1, fetch_action)
+ jump = Constant(0x2, fetch_action)
+ wait = Constant(0x3, fetch_action)
+ error_trap = Constant(0x4, fetch_action)
+ noerror_trap = Constant(0x5, fetch_action)
+ ack_trap = Constant(0x6, fetch_action)