@@ -2155,22 +2155,22 @@ Changes to Python's build process and to the C API include:
21552155 :c:func: `!PyOS_ascii_strtod ` and :c:func: `!PyOS_ascii_atof ` functions
21562156 are now deprecated.
21572157
2158- * New function: :c:func: `PySys_SetArgvEx ` sets the value of
2158+ * New function: :c:func: `! PySys_SetArgvEx ` sets the value of
21592159 ``sys.argv `` and can optionally update ``sys.path `` to include the
21602160 directory containing the script named by ``sys.argv[0] `` depending
21612161 on the value of an *updatepath * parameter.
21622162
21632163 This function was added to close a security hole for applications
2164- that embed Python. The old function, :c:func: `PySys_SetArgv `, would
2164+ that embed Python. The old function, :c:func: `! PySys_SetArgv `, would
21652165 always update ``sys.path ``, and sometimes it would add the current
21662166 directory. This meant that, if you ran an application embedding
21672167 Python in a directory controlled by someone else, attackers could
21682168 put a Trojan-horse module in the directory (say, a file named
21692169 :file: `os.py `) that your application would then import and run.
21702170
21712171 If you maintain a C/C++ application that embeds Python, check
2172- whether you're calling :c:func: `PySys_SetArgv ` and carefully consider
2173- whether the application should be using :c:func: `PySys_SetArgvEx `
2172+ whether you're calling :c:func: `! PySys_SetArgv ` and carefully consider
2173+ whether the application should be using :c:func: `! PySys_SetArgvEx `
21742174 with *updatepath * set to false.
21752175
21762176 Security issue reported as `CVE-2008-5983
@@ -2545,11 +2545,11 @@ For C extensions:
25452545
25462546For applications that embed Python:
25472547
2548- * The :c:func: `PySys_SetArgvEx ` function was added, letting
2548+ * The :c:func: `! PySys_SetArgvEx ` function was added, letting
25492549 applications close a security hole when the existing
2550- :c:func: `PySys_SetArgv ` function was used. Check whether you're
2551- calling :c:func: `PySys_SetArgv ` and carefully consider whether the
2552- application should be using :c:func: `PySys_SetArgvEx ` with
2550+ :c:func: `! PySys_SetArgv ` function was used. Check whether you're
2551+ calling :c:func: `! PySys_SetArgv ` and carefully consider whether the
2552+ application should be using :c:func: `! PySys_SetArgvEx ` with
25532553 *updatepath * set to false.
25542554
25552555.. ======================================================================
0 commit comments