diff options
Diffstat (limited to 'docs/library/ucollections.rst')
-rw-r--r-- | docs/library/ucollections.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/library/ucollections.rst b/docs/library/ucollections.rst index c7ed068c7e..4e9de9ac67 100644 --- a/docs/library/ucollections.rst +++ b/docs/library/ucollections.rst @@ -13,10 +13,10 @@ Classes .. function:: namedtuple(name, fields) This is factory function to create a new namedtuple type with a specific - name and set of fields. A namedtyple is a subclass of tuple which allows + name and set of fields. A namedtuple is a subclass of tuple which allows to access its fields not just by numeric index, but also with an attribute access syntax using symbolic field names. Fields is a sequence of strings - specifying field names. For compatibily with CPython it can also be a + specifying field names. For compatibility with CPython it can also be a a string with space-separated field named (but this is less efficient). Example of use:: |