@@ -230,7 +230,7 @@ ABC hierarchy::
230230 .. deprecated :: 3.3
231231 Use :class: `MetaPathFinder ` or :class: `PathEntryFinder ` instead.
232232
233- .. method :: find_module(fullname, path=None)
233+ .. abstractmethod :: find_module(fullname, path=None)
234234
235235 An abstact method for finding a :term: `loader ` for the specified
236236 module. Originally specified in :pep: `302 `, this method was meant
@@ -453,7 +453,7 @@ ABC hierarchy::
453453 :pep: `302 ` protocol for loading arbitrary resources from the storage
454454 back-end.
455455
456- .. method :: get_data(path)
456+ .. abstractmethod :: get_data(path)
457457
458458 An abstract method to return the bytes for the data located at *path *.
459459 Loaders that have a file-like storage back-end
@@ -489,7 +489,7 @@ ABC hierarchy::
489489 .. versionchanged :: 3.4
490490 No longer abstract and a concrete implementation is provided.
491491
492- .. method :: get_source(fullname)
492+ .. abstractmethod :: get_source(fullname)
493493
494494 An abstract method to return the source of a module. It is returned as
495495 a text string using :term: `universal newlines `, translating all
@@ -546,7 +546,7 @@ ABC hierarchy::
546546 when implemented, helps a module to be executed as a script. The ABC
547547 represents an optional :pep: `302 ` protocol.
548548
549- .. method :: get_filename(fullname)
549+ .. abstractmethod :: get_filename(fullname)
550550
551551 An abstract method that is to return the value of :attr: `__file__ ` for
552552 the specified module. If no path is available, :exc: `ImportError ` is
@@ -586,11 +586,11 @@ ABC hierarchy::
586586 .. deprecated :: 3.4
587587 Use :meth: `Loader.exec_module ` instead.
588588
589- .. method :: get_filename(fullname)
589+ .. abstractmethod :: get_filename(fullname)
590590
591591 Returns :attr: `path `.
592592
593- .. method :: get_data(path)
593+ .. abstractmethod :: get_data(path)
594594
595595 Reads *path * as a binary file and returns the bytes from it.
596596
0 commit comments