parameters: (self)
docstring: return datetime object representing last modification time, or None if unavailable
docstring_summary: return datetime object representing last modification time, or None if unavailable
docstring_tokens: return datetime object representing last modification time or None if unavailable
function: def lastmodtime(self):
          """ return datetime object representing last modification time, or None if unavailable """
          info = self.fs.info(self.cname)
          if self.islocal() and info is not None:
              return datetime.fromtimestamp(info["mtime"])
          else:
              return getattr(info, "LastModified", None)
function_tokens: def lastmodtime ( self ) : info = self . fs . info ( self . cname ) if self . islocal ( ) and info is not None : return datetime . fromtimestamp ( info [ "mtime" ] ) else : return getattr ( info , "LastModified" , None )