]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
py3compat: remove obsolete comments
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Tue, 1 Dec 2020 23:51:44 +0000 (12:51 +1300)
committerJeremy Allison <jra@samba.org>
Wed, 17 Mar 2021 17:10:32 +0000 (17:10 +0000)
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
python/py3compat.h

index 75baa00503f9ad5550628991dd818f57d0ec7f78..011082147831b8b9d74f4bcc280221cabae2a8fb 100644 (file)
 #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);
  *
  * 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)