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

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

from __future__ import absolute_import, division, print_function 

 

from .constants import BasisTypeEnum 

 

from lsst.utils import continueClass 

 

__all__ = [] 

 

 

@continueClass # noqa F811 

class BasisTypeEnum: 

# Workaround for broken pickling on Python 2 

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

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

def __reduce__(self): 

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