Skip to content

Commit 79e174f

Browse files
committed
Remove redundant comments
1 parent cd2f085 commit 79e174f

File tree

5 files changed

+1
-26
lines changed

5 files changed

+1
-26
lines changed

Modules/_zstd/_zstdmodule.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ module _zstd
1616
/*[clinic end generated code: output=da39a3ee5e6b4b0d input=4b5f5587aac15c14]*/
1717
#include "clinic/_zstdmodule.c.h"
1818

19-
/* --------------------------
20-
Module level error handling
21-
-------------------------- */
2219

2320
/* Format error message and set ZstdError. */
2421
void
@@ -175,9 +172,6 @@ get_zstd_state(PyObject *module)
175172
return (_zstd_state *)state;
176173
}
177174

178-
/* -------------------------
179-
Train dictionary code
180-
------------------------- */
181175

182176
/*[clinic input]
183177
_zstd._train_dict
@@ -570,9 +564,6 @@ static PyMethodDef _zstd_methods[] = {
570564
};
571565

572566

573-
/* --------------------
574-
Initialize code
575-
-------------------- */
576567
#define ADD_INT_PREFIX_MACRO(module, macro) \
577568
do { \
578569
if (PyModule_AddIntConstant(module, "_" #macro, macro) < 0) { \

Modules/_zstd/buffer.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ Python module.
66
#include "_zstdmodule.h"
77
#include "pycore_blocks_output_buffer.h"
88

9-
/* -----------------------------------
10-
Blocks output buffer wrapper code
11-
----------------------------------- */
9+
/* Blocks output buffer wrapper code */
1210

1311
/* Initialize the buffer, and grow the buffer.
1412
Return 0 on success

Modules/_zstd/compressor.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ class _zstd.ZstdCompressor "ZstdCompressor *" "clinic_state()->ZstdCompressor_ty
2222

2323
#include <stddef.h> // offsetof()
2424

25-
/* -----------------------
26-
ZstdCompressor code
27-
----------------------- */
2825

2926
int
3027
_PyZstd_set_c_parameters(ZstdCompressor *self, PyObject *level_or_options,

Modules/_zstd/decompressor.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ class _zstd.ZstdDecompressor "ZstdDecompressor *" "clinic_state()->ZstdDecompres
2121

2222
#include <stddef.h> // offsetof()
2323

24-
/* -----------------------------
25-
Decompress implementation
26-
----------------------------- */
27-
2824
static inline ZSTD_DDict *
2925
_get_DDict(ZstdDict *self)
3026
{
@@ -589,10 +585,6 @@ stream_decompress(ZstdDecompressor *self, Py_buffer *data, Py_ssize_t max_length
589585
}
590586

591587

592-
/* -------------------------
593-
ZstdDecompressor code
594-
------------------------- */
595-
596588
static PyObject *
597589
_zstd_ZstdDecompressor_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
598590
{

Modules/_zstd/zdict.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ class _zstd.ZstdDict "ZstdDict *" "clinic_state()->ZstdDict_type"
1919

2020
#include <stddef.h> // offsetof()
2121

22-
/* -----------------
23-
ZstdDict code
24-
----------------- */
2522

2623
static PyObject *
2724
_zstd_ZstdDict_new(PyTypeObject *type, PyObject *Py_UNUSED(args), PyObject *Py_UNUSED(kwargs))

0 commit comments

Comments
 (0)