class_docstr: Base container class.
class_docstr_tok: ["Base","container","class","."]
code: def sort(self, *args, **kwargs):
      # Continue to support the old sort_function keyword argument.
      # This is expected to be a rare occurrence, so use LBYL to avoid
      # the overhead of actually catching KeyError.
      if "sort_function" in kwargs:
          kwargs["cmp"] = kwargs.pop("sort_function")
      self._values.sort(*args, **kwargs)
  
imports: import collections
  import sys
label_desc: Use image node_id 7 for calling the BaseContainer obj's underlying member method code with example usage: obj.sort() without return types