class_docstr: A stateful poll interface that mirrors Python's built-in poll.
class_docstr_tok: ["A","stateful","poll","interface","that","mirrors","Python","'s","built-in","poll","."]
docstr: Modify the flags for an already registered 0MQ socket or native fd.
docstr_tok: ["Modify","the","flags","for","an","already","registered","0MQ","socket","or","native","fd","."]
code: def modify(self, socket, flags=POLLIN | POLLOUT):
      """Modify the flags for an already registered 0MQ socket or native fd."""
      self.register(socket, flags)
  
file_path: catboost/contrib/python/pyzmq/py3/zmq/sugar/poll.py
imports: from typing import Any, Dict, List, Optional, Tuple
  from zmq.backend import zmq_poll
  from zmq.constants import POLLERR, POLLIN, POLLOUT
label_desc: Use image node_id 4 for calling the Poller obj's underlying member method code with example usage: obj.modify(socket, flags) without return types