code: def _classic_mro(C, result):
      if C in result:
          return
      result.append(C)
      for B in C.__bases__:
          _classic_mro(B, result)
      return result
  
imports: import abc
  import sys
  import warnings
  from collections import deque
  from functools import wraps
label_desc: Use image node_id 1 for calling a global function with example usage: _classic_mro(C, result) and returns: result