summaryrefslogtreecommitdiff
path: root/python/py3compat.h
diff options
context:
space:
mode:
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>2020-12-02 12:51:44 +1300
committerJeremy Allison <jra@samba.org>2021-03-17 17:10:32 +0000
commit6e61d032c420203cd493ea17008d99758708106b (patch)
tree5d2c3f00faf1ef0fcc79d7a30cd9e0ef305e4c41 /python/py3compat.h
parentf3309818d3885c09b73fec4907872fac3fcf4e9a (diff)
downloadsamba-6e61d032c420203cd493ea17008d99758708106b.tar.gz
py3compat: remove obsolete comments
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'python/py3compat.h')
-rw-r--r--python/py3compat.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/python/py3compat.h b/python/py3compat.h
index 75baa00503f..01108214783 100644
--- a/python/py3compat.h
+++ b/python/py3compat.h
@@ -22,13 +22,6 @@
#include <Python.h>
/* Quick docs:
- *
- * "PyStr_*" works like PyUnicode_* on Python 3, but uses bytestrings (str)
- * under Python 2.
- *
- * "PyBytes_*" work like in Python 3; on Python 2 they are aliased to their
- * PyString_* names.
- *
* Syntax for module initialization is as in Python 3, except the entrypoint
* function definition and declaration:
* PyMODINIT_FUNC PyInit_modulename(void);
@@ -44,17 +37,8 @@
*
* In the entrypoint, create a module using PyModule_Create and PyModuleDef,
* and return it. See Python 3 documentation for details.
- * For Python 2 compatibility, always set PyModuleDef.m_size to -1.
- *
*/
-/***** Python 3 *****/
-
-/* Strings */
-
-
-/* Module init */
-
#define MODULE_INIT_FUNC(name) \
PyMODINIT_FUNC PyInit_ ## name(void); \
PyMODINIT_FUNC PyInit_ ## name(void)