/usr/lib/python3/dist-packages/agate/rows.py is in python3-agate 1.6.0-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | #!/usr/bin/env python
"""
This module contains agate's :class:`Row` implementation. Rows are independent
of both the :class:`.Table` that contains them as well as the :class:`.Columns`
that access their data. This independence, combined with rows immutability
allows them to be safely shared between table instances.
"""
from agate.mapped_sequence import MappedSequence
class Row(MappedSequence):
"""
A row of data. Values within a row can be accessed by column name or column
index. Row are immutable and may be shared between :class:`.Table`
instances.
Currently row instances are a no-op subclass of :class:`MappedSequence`.
They are being maintained in this fashion in order to support future
features.
"""
pass
|