Skip to content

Commit b37708b

Browse files
committed
upload-file: Remove ancient StringIO workaround.
Signed-off-by: Anders Kaseorg <[email protected]>
1 parent 43a9263 commit b37708b

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

zulip/zulip/examples/upload-file

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
#!/usr/bin/env python3
22

33
import argparse
4-
from io import StringIO as _StringIO
4+
from io import StringIO
55
from typing import IO, Any
66

77
import zulip
88

9-
10-
class StringIO(_StringIO):
11-
name = "" # https://github.com/python/typeshed/issues/598
12-
13-
149
usage = """upload-file [options]
1510
1611
Upload a file, and print the corresponding URI.

0 commit comments

Comments
 (0)