diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-12-02 21:13:53 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-12-02 21:13:53 (GMT) |
commit | ee1b01a41b0c1f212588f840a0b79b1b8876cceb (patch) | |
tree | 7188423a10613c738cc001a51d996762a6564d26 /Doc/library/array.rst | |
parent | 61f0a0261f0fbfd0a6b981c370a8808aad00b107 (diff) | |
download | cpython-ee1b01a41b0c1f212588f840a0b79b1b8876cceb.zip cpython-ee1b01a41b0c1f212588f840a0b79b1b8876cceb.tar.gz cpython-ee1b01a41b0c1f212588f840a0b79b1b8876cceb.tar.bz2 |
Issue #21818: Fixed references to classes that have names matching with module
names.
Diffstat (limited to 'Doc/library/array.rst')
-rw-r--r-- | Doc/library/array.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/array.rst b/Doc/library/array.rst index 24f3f62..4ac7bb5 100644 --- a/Doc/library/array.rst +++ b/Doc/library/array.rst @@ -254,7 +254,7 @@ When an array object is printed or converted to a string, it is represented as empty, otherwise it is a string if the *typecode* is ``'u'``, otherwise it is a list of numbers. The string is guaranteed to be able to be converted back to an array with the same type and value using :func:`eval`, so long as the -:func:`array` function has been imported using ``from array import array``. +:class:`~array.array` class has been imported using ``from array import array``. Examples:: array('l') |