aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Python-module.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown/Python-module.md')
-rw-r--r--docs/markdown/Python-module.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/markdown/Python-module.md b/docs/markdown/Python-module.md
index 0602955..8809fd0 100644
--- a/docs/markdown/Python-module.md
+++ b/docs/markdown/Python-module.md
@@ -93,6 +93,12 @@ the addition of the following:
it will be appended to that location. This keyword argument is
mutually exclusive with `install_dir`
+Additionally, the following diverge from [[shared_module]]'s default behavior:
+
+- `gnu_symbol_visibility`: if unset, it will default to `'hidden'` on versions
+ of Python that support this (the python headers define `PyMODINIT_FUNC` has
+ default visibility).
+
`extension_module` does not add any dependencies to the library so
user may need to add `dependencies : py_installation.dependency()`,
see [[dependency]].