Commit 26b3722
Allow passing arguments to stubgen.main (python#13095)
Modify signature of stubgen.main to accept a user-provided list of
arguments. This allows users to supply their own argument list without
monkeying about with sys.argv, which improves the usefulness of
embedding stubgen into other projects.1 parent f382fd4 commit 26b3722
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1704 | 1704 | | |
1705 | 1705 | | |
1706 | 1706 | | |
1707 | | - | |
| 1707 | + | |
1708 | 1708 | | |
1709 | 1709 | | |
1710 | 1710 | | |
1711 | 1711 | | |
1712 | 1712 | | |
1713 | 1713 | | |
1714 | | - | |
| 1714 | + | |
1715 | 1715 | | |
1716 | 1716 | | |
1717 | 1717 | | |
| |||
0 commit comments