class_docstr: Compact implementation of the Thrift protocol driver.
class_docstr_tok: ["Compact","implementation","of","the","Thrift","protocol","driver","."]
code: def writeCollectionEnd(self):
      assert self.state == CONTAINER_WRITE, self.state
      self.state = self.__containers.pop()
  
imports: from .TProtocol import TType, TProtocolBase, TProtocolException, TProtocolFactory, checkIntegerLimits
  from struct import pack, unpack
  from ..compat import binary_to_str, str_to_binary
label_desc: Use image node_id 19 for calling the TCompactProtocol obj's underlying member method code with example usage: obj.writeCollectionEnd() without return types