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/column.py   astropy(Download)
 
from .card import Card
from .util import pairwise, _is_int, _convert_array, encode_ascii
from .verify import VerifyError
 
    def _recformats(self):
        if len(self) == 1:
            widths = []
        else:
            widths = [y - x for x, y in pairwise(self.starts)]