Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork940
Commit683a3ee
committed
Clean up git.objects.submodule.base imports
This reorders them lexicographically within each group, makesspacing/formatting more consistent, and removes the old commentabout needing a dict to set .name, which had originally been onwhat later became the BytesIO import but had become separate fromit. (In Python 2, there was a cStringIO type, which could provide aspeed advantage over StringIO, but its instances, not havinginstance dictionaries, didn't support the dynamic creation of newattributes. This was changed to StringIO in00ce31a to allow .nameto be added. It was changed to BytesIO inbc8c912 to work withbytes on both Python 2 and Python 3. The comment about needing adict later ended up on the preceding line in0210e39, at whichpoint its meaning was unclear. Because Python 2 is no longersupported and Python 3 has no cStringIO type, the comment is nolonger needed, and this commit removes it.)1 parent5039df3 commit683a3ee
File tree
3 files changed
+11
-17
lines changed- git/objects/submodule
- test
3 files changed
+11
-17
lines changedLines changed: 9 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
2 | 1 |
| |
3 | 2 |
| |
4 | 3 |
| |
| 4 | + | |
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
11 |
| - | |
12 |
| - | |
13 |
| - | |
14 |
| - | |
| 10 | + | |
| 11 | + | |
15 | 12 |
| |
| 13 | + | |
16 | 14 |
| |
17 | 15 |
| |
18 | 16 |
| |
19 |
| - | |
20 | 17 |
| |
21 | 18 |
| |
22 | 19 |
| |
23 |
| - | |
24 | 20 |
| |
25 |
| - | |
26 |
| - | |
| 21 | + | |
27 | 22 |
| |
| 23 | + | |
28 | 24 |
| |
| 25 | + | |
29 | 26 |
| |
30 |
| - | |
31 | 27 |
| |
32 | 28 |
| |
33 |
| - | |
34 |
| - | |
35 | 29 |
| |
| 30 | + | |
| 31 | + | |
36 | 32 |
| |
37 | 33 |
| |
38 | 34 |
| |
39 |
| - | |
40 |
| - | |
41 | 35 |
| |
42 | 36 |
| |
43 | 37 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
| 25 | + | |
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
458 | 458 |
| |
459 | 459 |
| |
460 | 460 |
| |
461 |
| - | |
| 461 | + | |
462 | 462 |
| |
463 | 463 |
| |
464 | 464 |
| |
|
0 commit comments
Comments
(0)