parameters: (self)
return_statement: return self.size - self.num_elements
docstring: The number of freely available spaces in this buffer.
docstring_summary: The number of freely available spaces in this buffer.
docstring_tokens: The number of freely available spaces in this buffer .
function: def num_available_spaces(self):
      """The number of freely available spaces in this buffer."""
      return self.size - self.num_elements
function_tokens: def num_available_spaces ( self ) : return self . size - self . num_elements