]> granicus.if.org Git - python/commitdiff
merge
authorBrett Cannon <brett@python.org>
Sat, 25 May 2013 15:26:36 +0000 (11:26 -0400)
committerBrett Cannon <brett@python.org>
Sat, 25 May 2013 15:26:36 +0000 (11:26 -0400)
1  2 
Doc/library/importlib.rst

index 9cb03be6e39003a73a5113cb7810e1b5d6d7fec2,6f1899f3f506b2f939a774bc34da2749f34e8102..c44a34583fe94a768cdcb41d63e9447cf02c199c
@@@ -456,22 -411,9 +460,23 @@@ ABC hierarchy:
          automatically.
  
          When writing to the path fails because the path is read-only
-         (:attr:`errno.EACCES`), do not propagate the exception.
+         (:attr:`errno.EACCES`/:exc:`PermissionError`), do not propagate the
+         exception.
  
 +        .. versionchanged:: 3.4
 +           No longer raises :exc:`NotImplementedError` when called.
 +
 +    .. method:: source_to_code(data, path)
 +
 +        Create a code object from Python source.
 +
 +        The *data* argument can be whatever the :func:`compile` function
 +        supports (i.e. string or bytes). The *path* argument should be
 +        the "path" to where the source code originated from, which can be an
 +        abstract concept (e.g. location in a zip file).
 +
 +        .. versionadded:: 3.4
 +
      .. method:: get_code(fullname)
  
          Concrete implementation of :meth:`InspectLoader.get_code`.