Skip to content

Commit

Permalink
readded part of docstring mistakenly deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
gotofritz committed Dec 29, 2023
1 parent 6f059b5 commit df23816
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions faker/providers/file/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,11 +225,11 @@ def file_name(self, category: Optional[str] = None, extension: Optional[str] = N
If ``extension`` is ``None``, a random extension will be created
under the hood using |file_extension| with the specified
``category``. value for ``extension`` is
provided, the value will be used instead, and ``category`` will
be ignored. The actual name part itself is generated using
|word|. If extension is an empty string then no extension
will be added, and file_name will be the same as |word|.
``category``. If a value for ``extension`` is provided, the
value will be used instead, and ``category`` will be ignored.
The actual name part itself is generated using |word|. If
extension is an empty string then no extension will be added,
and file_name will be the same as |word|.
:sample: size=10
:sample: category='audio'
Expand Down

0 comments on commit df23816

Please sign in to comment.