(self, fixedlen=0, default=None)
:param fixedlen: an optional fixed length for the values. If you
            specify a number other than 0, the column will require all values
            to be the specified length.
        :param default: a default value to use for documents that don't specify
            one. If you don't specify a default, the column will use an empty
            bytestring (``b''``), or if you specify a fixed length,
            ``b'\\x00' * fixedlen``.
:param fixedlen: an optional fixed length for the values. If you
            specify a number other than 0, the column will require all values
            to be the specified length.
        :param default: a default value to use for documents that don't specify
            one. If you don't specify a default, the column will use an empty
            bytestring (``b''``), or if you specify a fixed length,
            ``b'\\x00' * fixedlen``.
: param fixedlen : an optional fixed length for the values . If you specify a number other than 0 the column will require all values to be the specified length . : param default : a default value to use for documents that don t specify one . If you don t specify a default the column will use an empty bytestring ( b ) or if you specify a fixed length b \\ x00 * fixedlen .
def __init__(self, fixedlen=0, default=None):
        """
        :param fixedlen: an optional fixed length for the values. If you
            specify a number other than 0, the column will require all values
            to be the specified length.
        :param default: a default value to use for documents that don't specify
            one. If you don't specify a default, the column will use an empty
            bytestring (``b''``), or if you specify a fixed length,
            ``b'\\x00' * fixedlen``.
        """

        self._fixedlen = fixedlen

        if default is None:
            default = b("\x00") * fixedlen if fixedlen else emptybytes
        elif fixedlen and len(default) != fixedlen:
            raise ValueError
        self._default = default
def __init__ ( self , fixedlen = 0 , default = None ) : self . _fixedlen = fixedlen if default is None : default = b ( "\x00" ) * fixedlen if fixedlen else emptybytes elif fixedlen and len ( default ) != fixedlen : raise ValueError self . _default = default