diff options
Diffstat (limited to 'Doc/library/imp.rst')
-rw-r--r-- | Doc/library/imp.rst | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Doc/library/imp.rst b/Doc/library/imp.rst index 04bc6f5..8f98d65 100644 --- a/Doc/library/imp.rst +++ b/Doc/library/imp.rst @@ -239,14 +239,14 @@ around for backward compatibility: .. impl-detail:: - The import internals identify extension modules by filename, so doing - ``foo = load_dynamic("foo", "mod.so")`` and - ``bar = load_dynamic("bar", "mod.so")`` will result in both foo and bar - referring to the same module, regardless of whether or not - ``mod.so`` exports an ``initbar`` function. On systems which - support them, symlinks can be used to import multiple modules from - the same shared library, as each reference to the module will use - a different file name. + The import internals identify extension modules by filename, so doing + ``foo = load_dynamic("foo", "mod.so")`` and + ``bar = load_dynamic("bar", "mod.so")`` will result in both foo and bar + referring to the same module, regardless of whether or not + ``mod.so`` exports an ``initbar`` function. On systems which + support them, symlinks can be used to import multiple modules from + the same shared library, as each reference to the module will use + a different file name. .. function:: load_source(name, pathname[, file]) |