docs: fix build errors in the blame chapter

This commit is contained in:
J. David Ibáñez
2014-11-03 18:53:38 +01:00
parent ab52904c5d
commit cb310316bf
2 changed files with 5 additions and 5 deletions

View File

@@ -32,6 +32,7 @@ from __future__ import absolute_import
from _pygit2 import *
# High level API
from .blame import Blame, BlameHunk
from .config import Config
from .credentials import *
from .errors import check_error

View File

@@ -442,11 +442,10 @@ class Repository(_Repository):
#
# blame
#
def blame(self, path, flags=None, min_match_characters=None, newest_commit=None, oldest_commit=None, min_line=None, max_line=None):
"""blame(path, [flags, min_match_characters, newest_commit, oldest_commit,\n"
min_line, max_line]) -> Blame
Get the blame for a single file.
def blame(self, path, flags=None, min_match_characters=None,
newest_commit=None, oldest_commit=None, min_line=None,
max_line=None):
"""Return a Blame object for a single file.
Arguments: