code: def _len_code(obj):  # see .../Lib/test/test_sys.py
      '''Length of code object (stack and variables only).
      '''
      return obj.co_stacksize +      obj.co_nlocals  \
                              + _len(obj.co_freevars) \
                              + _len(obj.co_cellvars) - f _len_code(obj):  # see .../Lib/test/test_sys.py
      '''Length of code object (stack and variables only).
      '''
      return obj.co_stacksize +      obj.co_nlocals  \
                              + _len(obj.co_freevars) \
                              + _len(obj.co_cellvars) - 1
docs: Length of code object (stack and variables only).