Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1from .constants import BasisTypeEnum 

2 

3from lsst.utils import continueClass 

4 

5__all__ = [] 

6 

7 

8@continueClass # noqa F811 

9class BasisTypeEnum: 

10 # Workaround for broken pickling on Python 2 

11 # Without this fails with: TypeError: lsst.shapelet.constants.BasisTypeEnum.__new__( 

12 # lsst.shapelet.constants.BasisTypeEnum) is not safe, use object.__new__() 

13 def __reduce__(self): 

14 return (BasisTypeEnum, (int(self), ))