code: def _test():
      fmt = """
  		# comments are allowed
  		>  # big endian (see documentation for struct)
  		# empty lines are allowed:
  
  		ashort: h
  		along: l
  		abyte: b	# a byte
  		achar: c
  		astr: 5s
  		afloat: f; adouble: d	# multiple "statements" are allowed
  		afixed: 16.16F
  		abool: ?
  		apad: x
  	"""
  
      print("size:", calcsize(fmt))
  
      class foo(object):
          pass
  
      i = foo()
  
      i.ashort = 0x7FFF
      i.along = 0x7FFFFFFF
      i.abyte = 0x7F
      i.achar = "a"
      i.astr = "12345"
      i.afloat = 0.5
      i.adouble = 0.5
      i.afixed = 1.5
      i.abool = True
  
      data = pack(fmt, i)
      print("data:", repr(data))
      print(unpack(fmt, data))
      i2 = foo()
      unpack(fmt, data, i2)
      print(vars(i2))
  
file_path: catboost/contrib/python/fonttools/fontTools/misc/sstruct.py
imports: from fontTools.misc.fixedTools import fixedToFloat, floatToFixed
  from fontTools.misc.textTools import tobytes, tostr
  import struct
  import re
label_desc: Use image node_id 6 for calling a global function with example usage: _test() without return types