Skip to content

Commit

Permalink
set import for python 2.3 in shell.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vivainio2 authored and vivainio2 committed May 30, 2008
1 parent cabe846 commit 8dc1fb7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions IPython/Shell.py
Expand Up @@ -46,6 +46,13 @@
from IPython.Magic import Magic
from IPython.ipstruct import Struct

try: # Python 2.3 compatibility
set
except NameError:
import sets
set = sets.Set


# Globals
# global flag to pass around information about Ctrl-C without exceptions
KBINT = False
Expand Down

0 comments on commit 8dc1fb7

Please sign in to comment.