summaryrefslogtreecommitdiff
path: root/babel/util.py
diff options
context:
space:
mode:
authorArmin Ronacher <armin.ronacher@active-4.com>2008-06-17 20:07:08 +0000
committerArmin Ronacher <armin.ronacher@active-4.com>2008-06-17 20:07:08 +0000
commite0aea27c4cc3417ffa5edefa86a63ffe85271de8 (patch)
tree5af04513e2e438bad8d6a5543d656ab8bad7ad0a /babel/util.py
parentfa206604760a5a45a96038ed3b7d91536482cd72 (diff)
downloadbabel-e0aea27c4cc3417ffa5edefa86a63ffe85271de8.tar.gz
Moved PYTHON_FORMAT back to catalog.
Diffstat (limited to 'babel/util.py')
-rw-r--r--babel/util.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/babel/util.py b/babel/util.py
index 9842150..b59918f 100644
--- a/babel/util.py
+++ b/babel/util.py
@@ -31,17 +31,6 @@ __all__ = ['distinct', 'pathmatch', 'relpath', 'wraptext', 'odict', 'UTC',
__docformat__ = 'restructuredtext en'
-PYTHON_FORMAT = re.compile(r'''(?x)
- \%
- (?:\(([\w]*)\))?
- (
- [-#0\ +]?(?:\*|[\d]+)?
- (?:\.(?:\*|[\d]+))?
- [hlL]?
- )
- ([diouxXeEfFgGcrs%])
-''')
-
def distinct(iterable):
"""Yield all items in an iterable collection that are distinct.