Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4d07031

Browse files
authored
Merge pull request#1932 from zerothi/1924-docs
fixed doc to not faulty do#1924
2 parentsee987da +f1ec1f1 commit4d07031

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎test/test_docs.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -469,11 +469,11 @@ def test_references_and_objects(self, rw_dir):
469469
# ![30-test_references_and_objects]
470470

471471
# [31-test_references_and_objects]
472-
git=repo.git
473-
git.checkout("HEAD",b="my_new_branch")# Create a new branch.
474-
git.branch("another-new-one")
475-
git.branch("-D","another-new-one")# Pass strings for full control over argument order.
476-
git.for_each_ref()# '-' becomes '_' when calling it.
472+
git_cmd=repo.git
473+
git_cmd.checkout("HEAD",b="my_new_branch")# Create a new branch.
474+
git_cmd.branch("another-new-one")
475+
git_cmd.branch("-D","another-new-one")# Pass strings for full control over argument order.
476+
git_cmd.for_each_ref()# '-' becomes '_' when calling it.
477477
# ![31-test_references_and_objects]
478478

479479
repo.git.clear_cache()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp