Skip to content

Commit 0b154b1

Browse files
committed
Fix camelcase name references
1 parent 62ef4dc commit 0b154b1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Doc/library/compression.zstd.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ Zstandard Dictionaries
347347
dictionary.
348348

349349
The *zstd_dict* argument is a :class:`ZstdDict` instance with
350-
the :attr:`~ZstdDict.dict_contents` containing the raw dictionary contents.
350+
the :attr:`~ZstdDict.dict_content` containing the raw dictionary contents.
351351

352352
The *samples* argument (an iterable of bytes), contains sample data for
353353
generating the Zstandard dictionary.
@@ -380,7 +380,7 @@ Zstandard Dictionaries
380380
.. attribute:: dict_content
381381

382382
The content of the Zstandard dictionary, a ``bytes`` object. It's the
383-
same as *dict_content* argument in :meth:`~ZstdDict.__init__`. It can
383+
same as the *dict_content* argument in the ``__init__`` method. It can
384384
be used with other programs, such as the ``zstd`` CLI program.
385385

386386
.. attribute:: dict_id
@@ -551,9 +551,9 @@ Advanced parameter control
551551
inputs by finding large matches at greater distances. It increases memory
552552
usage and window size.
553553

554-
Enabling this parameter increases default :attr:`~CParameter.windowLog`
554+
Enabling this parameter increases default :attr:`~CParameter.window_log`
555555
to 128 MiB except when expressly set to a different value. This setting
556-
is enabled by default if :attr:`~CParameter.windowLog` >= 128 MiB and
556+
is enabled by default if :attr:`~CParameter.window_log` >= 128 MiB and
557557
the compression strategy >= :attr:`~Strategy.btopt` (compression
558558
level 16+).
559559

@@ -605,15 +605,15 @@ Advanced parameter control
605605
.. attribute:: job_size
606606

607607
Size of a compression job, in bytes. This value is enforced only when
608-
:attr:`~CParameter.nbWorkers` >= 1. Each compression job is completed in
608+
:attr:`~CParameter.nb_workers` >= 1. Each compression job is completed in
609609
parallel, so this value can indirectly impact the number of active
610610
threads.
611611

612612
.. attribute:: overlap_log
613613

614614
Sets how much data is reloaded from previous jobs (threads) for new jobs
615615
to be used by the look behind window during compression. This values is
616-
only used when :attr:`~CParameter.nbWorkers` >= 1. Acceptable values vary
616+
only used when :attr:`~CParameter.nb_workers` >= 1. Acceptable values vary
617617
from 0 to 9.
618618

619619
* 0 means dynamically set the overlap amount

0 commit comments

Comments
 (0)