Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(5263)

Unified Diff: Lib/importlib/abc.py

Issue 23014: Don't have importlib.abc.Loader.create_module() be optional
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
--- a/Lib/importlib/abc.py Fri Dec 12 12:00:02 2014 -0500
+++ b/Lib/importlib/abc.py Fri Dec 12 12:23:43 2014 -0500
@@ -122,9 +122,6 @@
This method should raise ImportError if anything prevents it
from creating a new module. It may return None to indicate
that the spec should create the new module.
-
- create_module() is optional.
-
"""
# By default, defer to default semantics for the new module.
return None

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+