We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
__main__.py
1 parent e25f56f commit 30ecb9fCopy full SHA for 30ecb9f
Doc/library/__main__.rst
@@ -227,7 +227,7 @@ students::
227
import sys
228
from .student import search_students
229
230
- student_name = sys.argv[2] if len(sys.argv) >= 2 else ''
+ student_name = sys.argv[1] if len(sys.argv) >= 2 else ''
231
print(f'Found student: {search_students(student_name)}')
232
233
Note that ``from .student import search_students`` is an example of a relative
0 commit comments