Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/a/s/astropy-0.3.1/astropy/io/fits/hdu/base.py   astropy(Download)
from ..file import _File
from ..header import Header, HEADER_END_RE, _pad_length
from ..util import (_is_int, _is_pseudo_unsigned, _unsigned_zero,
                    itersubclasses, encode_ascii, decode_ascii,
                    _get_array_mmap, _array_to_file)
    klass = cls  # By default, if no subclasses are defined
    if header:
        for c in reversed(list(itersubclasses(cls))):
            try:
                # HDU classes built into astropy.io.fits are always considered,