From 8a120f5b2324a13cefe31cf4b5c3fca55faae6f6 Mon Sep 17 00:00:00 2001 From: Derek Homeier Date: Tue, 5 Nov 2024 23:29:05 +0100 Subject: [PATCH] Document default `Table.meta` as `dict` --- docs/table/access_table.rst | 2 +- docs/table/construct_table.rst | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/table/access_table.rst b/docs/table/access_table.rst index 299c373c1c63..45f753ed45e5 100644 --- a/docs/table/access_table.rst +++ b/docs/table/access_table.rst @@ -178,7 +178,7 @@ Accessing Properties The code below shows accessing the table columns as a |TableColumns| object, getting the column names, table metadata, and number of table rows. The table -metadata is an `~collections.OrderedDict` by default. +metadata is a :class:`dict` by default. :: >>> t.columns diff --git a/docs/table/construct_table.rst b/docs/table/construct_table.rst index 04baa5bae78c..b77746877f02 100644 --- a/docs/table/construct_table.rst +++ b/docs/table/construct_table.rst @@ -720,10 +720,10 @@ meta ---- The ``meta`` argument is an object that contains metadata associated with the -table. It is recommended that this object be a :class:`dict` or -:class:`~collections.OrderedDict`, but the only firm requirement is that it can +table. It is recommended that this object be a :class:`dict`, but the +only firm requirement is that it *must be a dict-like mapping* and can be copied with the standard library :func:`copy.deepcopy` routine. By -default, ``meta`` is an empty :class:`~collections.OrderedDict`. +default, ``meta`` is an empty :class:`dict`. copy ----