code: def commit(self, commit):
  		
  		try:
  			return self._commitData(self.repo.get_commit(commit))
  		except (ValueError, KeyError, GithubException):
  			raise KeyError("Commit %s not found" % commit)
docs: Get data for a given commit
  
  		Raises KeyError if a commit is not found or not parsed.
  
  		:param commit: repository commit
  		:type  commit: string