Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/fileset.py @ 20034:1e5b38a919dd
cleanup: move stdlib imports to their own import statement
There are a few warnings still produced by my import checker, but
those are false positives produced by modules that share a name with
stdlib modules.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Wed, 06 Nov 2013 16:48:06 -0500 |
parents | 19ac0d8ee9a2 |
children | 174d9b8baf5d |
comparison
equal
deleted
inserted
replaced
20033:f962870712da | 20034:1e5b38a919dd |
---|---|
3 # Copyright 2010 Matt Mackall <mpm@selenic.com> | 3 # Copyright 2010 Matt Mackall <mpm@selenic.com> |
4 # | 4 # |
5 # This software may be used and distributed according to the terms of the | 5 # This software may be used and distributed according to the terms of the |
6 # GNU General Public License version 2 or any later version. | 6 # GNU General Public License version 2 or any later version. |
7 | 7 |
8 import parser, error, util, merge, re | 8 import re |
9 import parser, error, util, merge | |
9 from i18n import _ | 10 from i18n import _ |
10 | 11 |
11 elements = { | 12 elements = { |
12 "(": (20, ("group", 1, ")"), ("func", 1, ")")), | 13 "(": (20, ("group", 1, ")"), ("func", 1, ")")), |
13 "-": (5, ("negate", 19), ("minus", 5)), | 14 "-": (5, ("negate", 19), ("minus", 5)), |