X Tutup
Skip to content

Commit e1e0f10

Browse files
committed
Make bpython.args compatible with Python 2.5.
1 parent 2d1370c commit e1e0f10

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bpython/args.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Module to handle command line argument parsing, for all front-ends.
33
"""
44

5+
from __future__ import with_statement
56
import os
67
import sys
78
import code
@@ -27,7 +28,7 @@ def parse(args, extras=None):
2728
'A full description of what these options are for',
2829
[optparse.Option('-f', action='store_true', dest='f', help='Explode'),
2930
optparse.Option('-l', action='store_true', dest='l', help='Love')]))
30-
31+
3132
3233
Return a tuple of (config, options, exec_args) wherein "config" is the
3334
config object either parsed from a default/specified config file or default

0 commit comments

Comments
 (0)
X Tutup