Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d828b35

Browse filesBrowse files
authored
GH-102456: Fix docstring and getopt options for base64 (gh-102457)
1 parent 06249ec commit d828b35
Copy full SHA for d828b35

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

‎Lib/base64.py

Copy file name to clipboardExpand all lines: Lib/base64.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -558,12 +558,12 @@ def decodebytes(s):
558558
def main():
559559
"""Small main program"""
560560
import sys, getopt
561-
usage = f"""usage: {sys.argv[0]} [-h|-d|-e|-u|-t] [file|-]
561+
usage = f"""usage: {sys.argv[0]} [-h|-d|-e|-u] [file|-]
562562
-h: print this help message and exit
563563
-d, -u: decode
564564
-e: encode (default)"""
565565
try:
566-
opts, args = getopt.getopt(sys.argv[1:], 'hdeut')
566+
opts, args = getopt.getopt(sys.argv[1:], 'hdeu')
567567
except getopt.error as msg:
568568
sys.stdout = sys.stderr
569569
print(msg)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.