Commit d47f9fb
gh-151788: Apply review suggestions
- Drop the local `name` variable in favor of entry.name.
- Reword the OSError comment per review.
- Move the "Append /" comment above the is_dir check.
- Reword the NEWS entry per review (fix call -> calls).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 1138200 commit d47f9fb
2 files changed
Lines changed: 11 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
900 | 900 | | |
901 | 901 | | |
902 | 902 | | |
903 | | - | |
904 | | - | |
905 | | - | |
906 | | - | |
907 | | - | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
908 | 906 | | |
909 | 907 | | |
910 | 908 | | |
| |||
913 | 911 | | |
914 | 912 | | |
915 | 913 | | |
| 914 | + | |
916 | 915 | | |
917 | | - | |
918 | | - | |
| 916 | + | |
| 917 | + | |
919 | 918 | | |
920 | | - | |
| 919 | + | |
921 | 920 | | |
922 | 921 | | |
923 | 922 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments