Skip to content

Commit

Permalink
Adjust the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ghallak committed Nov 25, 2019
1 parent 6db8cf6 commit 7a2b6dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/types/value-types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ terminate the string literal. Newline only terminates the string literal if it i
Hexadecimal Literals
--------------------

Hexadecimal literals are prefixed with the keyword ``hex`` and are enclosed in double or single-quotes (``hex"001122FF"``), and the can also be split into multiple consecutive parts (``hex"00112233" "44556677"`` is equivalent to ``hex"0011223344556677"``). Their content must be a hexadecimal string and their value will be the binary representation of those values.
Hexadecimal literals are prefixed with the keyword ``hex`` and are enclosed in double or single-quotes (``hex"001122FF"``), and the can also be split into multiple consecutive parts (``hex"00112233" hex"44556677"`` is equivalent to ``hex"0011223344556677"``). Their content must be a hexadecimal string and their value will be the binary representation of those values.

Hexadecimal literals behave like :ref:`string literals <string_literals>` and have the same convertibility restrictions.

Expand Down

0 comments on commit 7a2b6dd

Please sign in to comment.