Changeset 2987


Ignore:
Timestamp:
Sep 1, 2010 8:44:27 AM (9 years ago)
Author:
khunter
Message:

NFC: minor driveby while I work on something else.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • coopr.pysp/trunk/coopr/pysp/phutils.py

    r2923 r2987  
    2222
    2323   # if the input type is a string or an int, then this isn't a tuple!
    24    if isinstance(index, str) or isinstance(index, int):
     24   if isinstance(index, (str, int)):
    2525      return "["+str(index)+"]"
    2626
Note: See TracChangeset for help on using the changeset viewer.