Skip to content

Commit

Permalink
Values can be omitted, in which case the value is an empty string (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
cxw42 authored Sep 28, 2024
1 parent bd9df36 commit 6b0263e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,12 @@ The types of lines are:
- Key-Value Pair (or Pair): contains a key and a value, separated by an ``=``.
See :ref:`supported-pairs`.

- Key: The part before the first ``=`` (trimmed of whitespace, but including
any whitespace in the middle).
- Value: The part after the first ``=`` (trimmed of whitespace, but including
any whitespace in the middle).
- Key: The part before the first ``=`` on the line.
- Value: The part, if any, after the first ``=`` on the line.
- Keys and values are trimmed of leading and trailing whitespace, but
include any whitespace that is between non-whitespace characters.
- If a value is not provided, then the value is an empty string
(i.e., ``""`` in C or Python).

Any line that is not one of the above is invalid.

Expand Down

0 comments on commit 6b0263e

Please sign in to comment.