@@ -19,15 +19,15 @@ The full license is in the LICENSE file, distributed with this software.
1919
2020/* in python 3, we cannot intern bytes objects so this is always false */
2121#define PyString_CHECK_INTERNED (cs ) 0
22- #endif /* !COMPILING_IN_PY2 */
22+ #endif // !COMPILING_IN_PY2
2323
2424#ifndef Py_TPFLAGS_HAVE_GETCHARBUFFER
2525#define Py_TPFLAGS_HAVE_GETCHARBUFFER 0
26- #endif
26+ #endif // Py_TPFLAGS_HAVE_GETCHARBUFFER
2727
2828#ifndef Py_TPFLAGS_HAVE_NEWBUFFER
2929#define Py_TPFLAGS_HAVE_NEWBUFFER 0
30- #endif
30+ #endif // Py_TPFLAGS_HAVE_NEWBUFFER
3131
3232static PyObject * badmove ; /* bad move exception class */
3333
@@ -85,14 +85,14 @@ static PyBufferProcs stolenbuf_as_buffer = {
8585 (getbufferproc ) stolenbuf_getbuffer ,
8686};
8787
88- #else /* Python 3 */
88+ #else // Python 3
8989
9090static PyBufferProcs stolenbuf_as_buffer = {
9191 (getbufferproc ) stolenbuf_getbuffer ,
9292 NULL ,
9393};
9494
95- #endif /* COMPILING_IN_PY2 */
95+ #endif // COMPILING_IN_PY2
9696
9797PyDoc_STRVAR (stolenbuf_doc ,
9898 "A buffer that is wrapping a stolen bytes object's buffer." );
@@ -208,7 +208,7 @@ static PyModuleDef move_module = {
208208 -1 ,
209209 methods ,
210210};
211- #endif /* !COMPILING_IN_PY2 */
211+ #endif // !COMPILING_IN_PY2
212212
213213PyDoc_STRVAR (
214214 badmove_doc ,
@@ -231,7 +231,7 @@ PyInit__move(void)
231231#else
232232#define ERROR_RETURN
233233init_move (void )
234- #endif /* !COMPILING_IN_PY2 */
234+ #endif // !COMPILING_IN_PY2
235235{
236236 PyObject * m ;
237237
@@ -250,7 +250,7 @@ init_move(void)
250250 if (!(m = PyModule_Create (& move_module )))
251251#else
252252 if (!(m = Py_InitModule (MODULE_NAME , methods )))
253- #endif /* !COMPILING_IN_PY2 */
253+ #endif // !COMPILING_IN_PY2
254254 {
255255 return ERROR_RETURN ;
256256 }
@@ -269,5 +269,5 @@ init_move(void)
269269
270270#if !COMPILING_IN_PY2
271271 return m ;
272- #endif /* !COMPILING_IN_PY2 */
272+ #endif // !COMPILING_IN_PY2
273273}
0 commit comments