diff mercurial/__init__.py @ 32291:bd872f64a8ba

cleanup: use set literals We no longer support Python 2.6, so we can now use set literals.
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 10 Feb 2017 16:56:29 -0800
parents 65cd7e705ff6
children a9c71d578a1c
line wrap: on
line diff
--- a/mercurial/__init__.py	Sat May 06 04:51:25 2017 +0530
+++ b/mercurial/__init__.py	Fri Feb 10 16:56:29 2017 -0800
@@ -22,14 +22,14 @@
 
 # Modules that have both Python and C implementations. See also the
 # set of .py files under mercurial/pure/.
-_dualmodules = set([
+_dualmodules = {
     'mercurial.base85',
     'mercurial.bdiff',
     'mercurial.diffhelpers',
     'mercurial.mpatch',
     'mercurial.osutil',
     'mercurial.parsers',
-])
+}
 
 class hgimporter(object):
     """Object that conforms to import hook interface defined in PEP-302."""