diff options
author | Leonard Richardson <leonard.richardson@canonical.com> | 2011-05-21 11:15:12 -0400 |
---|---|---|
committer | Leonard Richardson <leonard.richardson@canonical.com> | 2011-05-21 11:15:12 -0400 |
commit | 640fdc0fa7f2ffd53fb92dbeac8b456bb09dcaa7 (patch) | |
tree | 59b0c7e7dd36f9aa0afd2e632778620ff3aa82ce /bs4/util.py | |
parent | f7e49815dfcd427af639b1e3f9aefcf4f8f581e4 (diff) |
got rid of util.py altogether.
Diffstat (limited to 'bs4/util.py')
-rw-r--r-- | bs4/util.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/bs4/util.py b/bs4/util.py deleted file mode 100644 index 3cfeaf5..0000000 --- a/bs4/util.py +++ /dev/null @@ -1,15 +0,0 @@ -# Helper functions and mixin classes for Beautiful Soup - -import types -try: - set -except NameError: - from sets import Set as set - -def buildSet(args=None): - """Turns a list or a string into a set.""" - if isinstance(args, str): - return set([args]) - if args is None: - return set() - return set(args) |