@@ -178,21 +178,21 @@ get_zstd_state(PyObject *module)
178
178
/*[clinic input]
179
179
_zstd._train_dict
180
180
181
- samples_bytes: PyBytesObject
182
- Concatenation of samples.
183
- samples_size_list: object(subclass_of='&PyList_Type')
184
- List of samples' sizes.
185
- dict_size: Py_ssize_t
186
- The size of the dictionary.
187
- /
181
+ samples_bytes: PyBytesObject
182
+ Concatenation of samples.
183
+ samples_size_list: object(subclass_of='&PyList_Type')
184
+ List of samples' sizes.
185
+ dict_size: Py_ssize_t
186
+ The size of the dictionary.
187
+ /
188
188
189
189
Internal function, train a zstd dictionary on sample data.
190
190
[clinic start generated code]*/
191
191
192
192
static PyObject *
193
193
_zstd__train_dict_impl (PyObject * module , PyBytesObject * samples_bytes ,
194
194
PyObject * samples_size_list , Py_ssize_t dict_size )
195
- /*[clinic end generated code: output=ee53c34c8f77886b input=fdb00ebe474d1df9 ]*/
195
+ /*[clinic end generated code: output=ee53c34c8f77886b input=b21d092c695a3a81 ]*/
196
196
{
197
197
// TODO(emmatyping): The preamble and suffix to this function and _finalize_dict
198
198
// are pretty similar. We should see if we can refactor them to share that code.
@@ -281,17 +281,17 @@ _zstd__train_dict_impl(PyObject *module, PyBytesObject *samples_bytes,
281
281
/*[clinic input]
282
282
_zstd._finalize_dict
283
283
284
- custom_dict_bytes: PyBytesObject
285
- Custom dictionary content.
286
- samples_bytes: PyBytesObject
287
- Concatenation of samples.
288
- samples_size_list: object(subclass_of='&PyList_Type')
289
- List of samples' sizes.
290
- dict_size: Py_ssize_t
291
- The size of the dictionary.
292
- compression_level: int
293
- Optimize for a specific zstd compression level, 0 means default.
294
- /
284
+ custom_dict_bytes: PyBytesObject
285
+ Custom dictionary content.
286
+ samples_bytes: PyBytesObject
287
+ Concatenation of samples.
288
+ samples_size_list: object(subclass_of='&PyList_Type')
289
+ List of samples' sizes.
290
+ dict_size: Py_ssize_t
291
+ The size of the dictionary.
292
+ compression_level: int
293
+ Optimize for a specific zstd compression level, 0 means default.
294
+ /
295
295
296
296
Internal function, finalize a zstd dictionary.
297
297
[clinic start generated code]*/
@@ -301,7 +301,7 @@ _zstd__finalize_dict_impl(PyObject *module, PyBytesObject *custom_dict_bytes,
301
301
PyBytesObject * samples_bytes ,
302
302
PyObject * samples_size_list , Py_ssize_t dict_size ,
303
303
int compression_level )
304
- /*[clinic end generated code: output=9c2a7d8c845cee93 input=ef6f4f2b0b7e178d ]*/
304
+ /*[clinic end generated code: output=9c2a7d8c845cee93 input=08531a803d87c56f ]*/
305
305
{
306
306
Py_ssize_t chunks_number ;
307
307
size_t * chunk_sizes = NULL ;
0 commit comments