Skip to content

Commit

Permalink
collector #1918: added Set to RestrictedPython
Browse files Browse the repository at this point in the history
  • Loading branch information
zopyx committed Jan 13, 2007
1 parent 4a92f3b commit bf4c71f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import string, math, random
import DocumentTemplate.sequence
from DateTime.DateTime import DateTime
from sets import Set

utility_builtins = {}

Expand All @@ -24,6 +25,8 @@
utility_builtins['random'] = random
utility_builtins['sequence'] = DocumentTemplate.sequence
utility_builtins['DateTime'] = DateTime
utility_builtins['Set'] = Set


def same_type(arg1, *args):
'''Compares the class or type of two or more objects.'''
Expand Down

0 comments on commit bf4c71f

Please sign in to comment.