Change return value of fields() from a list to a tuple.

This commit is contained in:
Eric V. Smith 2017-12-03 09:44:19 -05:00
parent 5aea6ec4ac
commit 2d95971d98
1 changed files with 1 additions and 1 deletions

View File

@ -528,7 +528,7 @@ mutable types as default values for fields::
Module level helper functions
-----------------------------
- ``fields(class_or_instance)``: Returns a list of ``Field`` objects
- ``fields(class_or_instance)``: Returns a tuple of ``Field`` objects
that define the fields for this Data Class. Accepts either a Data
Class, or an instance of a Data Class. Raises `ValueError` if not
passed a Data Class or instance of one. Does not return