Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork944
Commitde540b7
committed
Add __all__ and imports in git.objects.submodule
This is the top-level of the git.objects.submodule subpackage, forits own Python submodules.This appears only not to have been done before because of a cyclicimport problem involving imports that are no longer present. Doingit improves consistency, since all the other subpackages under thetop-level git package already do this.The modattrs.py script reveals the four new attributes ofgit.objects.submodule for the four classes obtained by the newimports, as expected. (The explicit module imports do not changethe attribues because they are the same attributes as come intoexistence due to those Python submodules being imported anywhere inany style.)1 parent3786307 commitde540b7
2 files changed
+14
-4
lines changedLines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
30 |
| - | |
| 29 | + | |
31 | 30 |
| |
32 | 31 |
|
Lines changed: 13 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 |
| - | |
5 |
| - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + |
0 commit comments
Comments
(0)