class_docstr: A poller that can be used in the tornado IOLoop.
  
  This simply wraps a regular zmq.Poller, scaling the timeout
  by 1000, so that it is in seconds rather than milliseconds.
class_docstr_tok: ["A","poller","that","can","be","used","in","the","tornado","IOLoop",".","This","simply","wraps","a","regular","zmq.Poller",",","scaling","the","timeout","by","1000",",","so","that","it","is","in","seconds","rather","than","milliseconds","."]
docstr: translate zmq.POLLIN/OUT/ERR event masks into IOLoop.READ/WRITE/ERROR
docstr_tok: ["translate","zmq.POLLIN\/OUT\/ERR","event","masks","into","IOLoop.READ\/WRITE\/ERROR"]
code: def _remap_events(z_events):
      """translate zmq.POLLIN/OUT/ERR event masks into IOLoop.READ/WRITE/ERROR"""
      events = 0
      if z_events & POLLIN:
          events |= IOLoop.READ
      if z_events & POLLOUT:
          events |= IOLoop.WRITE
      if z_events & POLLERR:
          events |= IOLoop.ERROR
      return events
  
imports: from __future__ import absolute_import, division, with_statement
  import os
  import time
  import warnings
  from zmq import Poller, POLLIN, POLLOUT, POLLERR, ZMQError, ETERM
  from .minitornado.ioloop import PollIOLoop, PeriodicCallback
  from .minitornado.log import gen_log
label_desc: Use image node_id 3 for calling the ZMQPoller obj's underlying member method code with example usage: obj._remap_events(z_events) and returns: events