bpo-29918: Add missed "const" modifiers in C API documentation. (#846)
diff --git a/Doc/c-api/sys.rst b/Doc/c-api/sys.rst
index 035cdc1..bc00aa1 100644
--- a/Doc/c-api/sys.rst
+++ b/Doc/c-api/sys.rst
@@ -136,7 +136,7 @@
Reset :data:`sys.warnoptions` to an empty list.
-.. c:function:: void PySys_AddWarnOption(wchar_t *s)
+.. c:function:: void PySys_AddWarnOption(const wchar_t *s)
Append *s* to :data:`sys.warnoptions`.
@@ -144,7 +144,7 @@
Append *unicode* to :data:`sys.warnoptions`.
-.. c:function:: void PySys_SetPath(wchar_t *path)
+.. c:function:: void PySys_SetPath(const wchar_t *path)
Set :data:`sys.path` to a list object of paths found in *path* which should
be a list of paths separated with the platform's search path delimiter