Skip to content

Commit 81d24ab

Browse files
MNT: Better solution for B909
Co-authored-by: Joren Hammudoglu <jhammudoglu@gmail.com>
1 parent 1ae9693 commit 81d24ab

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tools/refguide_check.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -560,10 +560,9 @@ def main(argv):
560560
if not args.module_names:
561561
args.module_names = list(PUBLIC_SUBMODULES) + [BASE_MODULE]
562562

563-
module_names = list(args.module_names)
564-
module_names += [
563+
module_names = args.module_names + [
565564
OTHER_MODULE_DOCS[name]
566-
for name in module_names
565+
for name in args.module_names
567566
if name in OTHER_MODULE_DOCS
568567
]
569568
# remove duplicates while maintaining order

0 commit comments

Comments
 (0)