Skip to content

Commit

Permalink
python: fix documentation links
Browse files Browse the repository at this point in the history
(cherry picked from commit 3ca7813)
  • Loading branch information
razvancrainea committed Feb 20, 2017
1 parent 0c2a9f0 commit 3875adc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
12 changes: 6 additions & 6 deletions modules/python/README
Expand Up @@ -8,7 +8,7 @@ Edited by

Razvan Crainea

Copyright © 2009 Sippy Software, Inc.
Copyright 2009 Sippy Software, Inc.
__________________________________________________________

Table of Contents
Expand All @@ -29,7 +29,7 @@ Razvan Crainea

1.4. Exported Functions

1.4.1.
1.4.1. python_exec(method_name [, extra_args])

List of Examples

Expand Down Expand Up @@ -123,7 +123,7 @@ Chapter 1. Admin Guide

The script that contains the Python module.

Default value is /usr/local/etc/opensips/handler.py.
Default value is "/usr/local/etc/opensips/handler.py".

Example 1.1. Set script_name parameter
...
Expand All @@ -135,7 +135,7 @@ modparam("python", "script_name", "/usr/local/bin/opensips_handler.py")
The method used to initialize the Python module and return the
object.

Default value is mod_init.
Default value is "mod_init".

Example 1.2. Set mod_init_function parameter
...
Expand All @@ -146,7 +146,7 @@ modparam("python", "mod_init_function", "module_initializer")

The method called for each child process.

Default value is child_init.
Default value is "child_init".

Example 1.3. Set child_init_method parameter
...
Expand All @@ -155,7 +155,7 @@ modparam("python", "child_init_method", "child_initializer")

1.4. Exported Functions

1.4.1.1. python_exec(method_name [, extra_args])
1.4.1. python_exec(method_name [, extra_args])

Thhis function is used to execute a method from the Python
module loaded.
Expand Down
8 changes: 3 additions & 5 deletions modules/python/doc/python_admin.xml
Expand Up @@ -222,10 +222,9 @@ modparam("python", "child_init_method", "child_initializer")
<section>
<title>Exported Functions</title>
<section>
<section>
<title>
<function moreinfo="none">python_exec(method_name [, extra_args])</function>
</title>
<title>
<function moreinfo="none">python_exec(method_name [, extra_args])</function>
</title>
<para>
Thhis function is used to execute a method from the Python module
loaded.
Expand All @@ -250,7 +249,6 @@ modparam("python", "child_init_method", "child_initializer")
</itemizedlist>
</section>
</section>
</section>

</chapter>

0 comments on commit 3875adc

Please sign in to comment.