@@ -746,7 +746,7 @@ ABC hierarchy::
746746 suitable for reading (same as :attr: `pathlib.Path.open `).
747747
748748 When opening as text, accepts encoding parameters such as those
749- accepted by :attr : `io.TextIOWrapper `.
749+ accepted by :class : `io.TextIOWrapper `.
750750
751751 .. method :: read_bytes()
752752
@@ -794,34 +794,34 @@ ABC hierarchy::
794794This module contains the various objects that help :keyword: `import `
795795find and load modules.
796796
797- .. attribute :: SOURCE_SUFFIXES
797+ .. data :: SOURCE_SUFFIXES
798798
799799 A list of strings representing the recognized file suffixes for source
800800 modules.
801801
802802 .. versionadded :: 3.3
803803
804- .. attribute :: DEBUG_BYTECODE_SUFFIXES
804+ .. data :: DEBUG_BYTECODE_SUFFIXES
805805
806806 A list of strings representing the file suffixes for non-optimized bytecode
807807 modules.
808808
809809 .. versionadded :: 3.3
810810
811811 .. deprecated :: 3.5
812- Use :attr : `BYTECODE_SUFFIXES ` instead.
812+ Use :const : `BYTECODE_SUFFIXES ` instead.
813813
814- .. attribute :: OPTIMIZED_BYTECODE_SUFFIXES
814+ .. data :: OPTIMIZED_BYTECODE_SUFFIXES
815815
816816 A list of strings representing the file suffixes for optimized bytecode
817817 modules.
818818
819819 .. versionadded :: 3.3
820820
821821 .. deprecated :: 3.5
822- Use :attr : `BYTECODE_SUFFIXES ` instead.
822+ Use :const : `BYTECODE_SUFFIXES ` instead.
823823
824- .. attribute :: BYTECODE_SUFFIXES
824+ .. data :: BYTECODE_SUFFIXES
825825
826826 A list of strings representing the recognized file suffixes for bytecode
827827 modules (including the leading dot).
@@ -831,7 +831,7 @@ find and load modules.
831831 .. versionchanged :: 3.5
832832 The value is no longer dependent on ``__debug__ ``.
833833
834- .. attribute :: EXTENSION_SUFFIXES
834+ .. data :: EXTENSION_SUFFIXES
835835
836836 A list of strings representing the recognized file suffixes for
837837 extension modules.
@@ -1109,7 +1109,7 @@ find and load modules.
11091109 .. method :: is_package(fullname)
11101110
11111111 Returns ``True `` if the file path points to a package's ``__init__ ``
1112- module based on :attr : `EXTENSION_SUFFIXES `.
1112+ module based on :const : `EXTENSION_SUFFIXES `.
11131113
11141114 .. method :: get_code(fullname)
11151115
@@ -1231,7 +1231,7 @@ find and load modules.
12311231This module contains the various objects that help in the construction of
12321232an :term: `importer `.
12331233
1234- .. attribute :: MAGIC_NUMBER
1234+ .. data :: MAGIC_NUMBER
12351235
12361236 The bytes which represent the bytecode version number. If you need help with
12371237 loading/writing bytecode then consider :class: `importlib.abc.SourceLoader `.
0 commit comments