Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/help.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 | 83d79a00cc24 |
children | 02c303f64917 |
comparison
equal
deleted
inserted
replaced
20033:f962870712da | 20034:1e5b38a919dd |
---|---|
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 from i18n import gettext, _ | 8 from i18n import gettext, _ |
9 import itertools, sys, os, error | 9 import itertools, sys, os |
10 import error | |
10 import extensions, revset, fileset, templatekw, templatefilters, filemerge | 11 import extensions, revset, fileset, templatekw, templatefilters, filemerge |
11 import encoding, util, minirst | 12 import encoding, util, minirst |
12 import cmdutil | 13 import cmdutil |
13 | 14 |
14 def listexts(header, exts, indent=1): | 15 def listexts(header, exts, indent=1): |