parameters: (self, morf)
return_statement: return os.path.split(morf_filename)[0]
docstring: Return the canonical directory of the module or file `morf`.
docstring_summary: Return the canonical directory of the module or file `morf`.
docstring_tokens: Return the canonical directory of the module or file morf .
function: def _canonical_dir(self, morf):
          """Return the canonical directory of the module or file `morf`."""
          morf_filename = PythonFileReporter(morf, self).filename
          return os.path.split(morf_filename)[0]
function_tokens: def _canonical_dir ( self , morf ) : morf_filename = PythonFileReporter ( morf , self ) . filename return os . path . split ( morf_filename ) [ 0 ]