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

Commit87b314e

Browse files
committed
Add INDEX and DiffConstants to git.__all__
This adds the names of git.diff.INDEX and git.diff.DiffConstants tothe top-level __all__.In particular, the recently introduced INDEX constant has the samestanding as NULL_TREE, which was (rightly) already listed, and thischange makes true the claims in some docstrings in the git.diffmodule that say that INDEX is accessible (among other ways) asgit.INDEX.
1 parent3c8cbe9 commit87b314e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎git/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"CommandError",
2121
"Commit",
2222
"Diff",
23+
"DiffConstants",
2324
"DiffIndex",
2425
"Diffable",
2526
"FetchInfo",
@@ -33,6 +34,7 @@
3334
"HEAD",
3435
"Head",
3536
"HookExecutionError",
37+
"INDEX",
3638
"IndexEntry",
3739
"IndexFile",
3840
"IndexObject",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp