original_docstring: Omit callable elements from input with arbitrary nesting.
docstring: Omit callable elements from input with arbitrary nesting.
docstring_tokens: Omit callable elements from input with arbitrary nesting .
code: def remove_callables(x):
              """Omit callable elements from input with arbitrary nesting."""
              if isinstance(x, dict):
                  return {k: remove_callables(v) for k, v in six.iteritems(x)
                          if not callable(v)}
              elif isinstance(x, list):
                  return [remove_callables(i) for i in x if not callable(i)]
              return x
code_tokens: def remove_callables ( x ) : if isinstance ( x , dict ) : return { k : remove_callables ( v ) for k , v in six . iteritems ( x ) if not callable ( v ) } elif isinstance ( x , list ) : return [ remove_callables ( i ) for i in x if not callable ( i ) ] return x
short_docstring: Omit callable elements from input with arbitrary nesting.
short_docstring_tokens: Omit callable elements from input with arbitrary nesting .
comment: """Omit callable elements from input with arbitrary nesting."""