From 640fdc0fa7f2ffd53fb92dbeac8b456bb09dcaa7 Mon Sep 17 00:00:00 2001 From: Leonard Richardson Date: Sat, 21 May 2011 11:15:12 -0400 Subject: got rid of util.py altogether. --- bs4/util.py | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 bs4/util.py (limited to 'bs4/util.py') 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) -- cgit v1.2.3