class_docstr: Parser for the Telnet protocol.
  Usage::
  
      def data_received(data):
          print(data)
  
      def size_received(rows, columns):
          print(rows, columns)
  
      p = TelnetProtocolParser(data_received, size_received)
      p.feed(binary_data)
class_docstr_tok: ["Parser","for","the","Telnet","protocol",".","Usage",":",":","def","data_received","(","data",")",":","print","(","data",")","def","size_received","(","rows",",","columns",")",":","print","(","rows",",","columns",")","p","=","TelnetProtocolParser","(","data_received",",","size_received",")","p.feed","(","binary_data",")"]
docstr: Received telnet DO command.
docstr_tok: ["Received","telnet","DO","command","."]
code: def do_received(self, data: bytes) -> None:
      """Received telnet DO command."""
      logger.info("DO %r", data)
  
file_path: catboost/contrib/python/prompt-toolkit/py3/prompt_toolkit/contrib/telnet/protocol.py
imports: from __future__ import annotations
  import struct
  from typing import Callable, Generator
  from .log import logger
label_desc: Use image node_id 3 for calling the TelnetProtocolParser obj's underlying member method code with example usage: obj.do_received(data) without return types