Skip to content

Commit

Permalink
Fix documentation build
Browse files Browse the repository at this point in the history
Fix the following Sphinx errors:

hachoir/field/field.py:docstring of hachoir.field.field.Field.getField:4: ERROR: Unexpected indentation.
docstring of hachoir.field.field.Field.static_size:7: ERROR: Unexpected indentation.
  • Loading branch information
vstinner committed Jul 24, 2023
1 parent 6adb54e commit 6da31a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hachoir/field/field.py
Expand Up @@ -41,7 +41,7 @@ class Field(Logger):
None: field size is computed dynamically.
int: field size, in bits.
callable: function that receives the same arguments as the constructor,
without ``parent``.
without ``parent``.
"""

is_field_set = False
Expand Down Expand Up @@ -232,7 +232,7 @@ def getField(self, key, const=True):
Args:
key (str): relative or absolute path for the desired field.
const (bool): For field sets, whether to consume additional input to
find a matching field.
find a matching field.
Returns:
Field: The field matching the provided path.
Expand Down

0 comments on commit 6da31a1

Please sign in to comment.