docs: fix build errors in the blame chapter
This commit is contained in:
@@ -32,6 +32,7 @@ from __future__ import absolute_import
|
|||||||
from _pygit2 import *
|
from _pygit2 import *
|
||||||
|
|
||||||
# High level API
|
# High level API
|
||||||
|
from .blame import Blame, BlameHunk
|
||||||
from .config import Config
|
from .config import Config
|
||||||
from .credentials import *
|
from .credentials import *
|
||||||
from .errors import check_error
|
from .errors import check_error
|
||||||
|
|||||||
@@ -442,11 +442,10 @@ class Repository(_Repository):
|
|||||||
#
|
#
|
||||||
# blame
|
# blame
|
||||||
#
|
#
|
||||||
def blame(self, path, flags=None, min_match_characters=None, newest_commit=None, oldest_commit=None, min_line=None, max_line=None):
|
def blame(self, path, flags=None, min_match_characters=None,
|
||||||
"""blame(path, [flags, min_match_characters, newest_commit, oldest_commit,\n"
|
newest_commit=None, oldest_commit=None, min_line=None,
|
||||||
min_line, max_line]) -> Blame
|
max_line=None):
|
||||||
|
"""Return a Blame object for a single file.
|
||||||
Get the blame for a single file.
|
|
||||||
|
|
||||||
Arguments:
|
Arguments:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user