###########################################################1# Re-bindings for unpickling2#3# Because we have a large number of pickles which were4# created when Gamma0, Gamma1, etc., were still classes5# as opposed to functions, we can't unpickle these unless6# sage.modular.congroup.Gamma0, etc. are classes. So we7# re-bind these as such below -- note that these bindings8# are *DIFFERENT* than the bindings for Gamma0, etc. that9# get imported in all.py.10#11# See trac #5059.12#13###########################################################1415from sage.modular.arithgroup.congroup_gamma0 import Gamma0_class16from sage.modular.arithgroup.congroup_gamma1 import Gamma1_class17from sage.modular.arithgroup.congroup_gammaH import GammaH_class1819Gamma0 = Gamma0_class20Gamma1 = Gamma1_class21GammaH = GammaH_class2223# For unpickling.24from sage.modular.arithgroup.congroup_gamma0 import Gamma0_constructor25from sage.modular.arithgroup.congroup_gamma1 import Gamma1_constructor26from sage.modular.arithgroup.congroup_gammaH import GammaH_constructor27from sage.modular.arithgroup.congroup_sl2z import SL2Z_class, _SL2Z_ref282930