aboutsummaryrefslogtreecommitdiff
path: root/create_lts.py
diff options
context:
space:
mode:
authorDevin Jeanpierre <jeanpierreda@google.com>2024-04-02 16:53:10 -0700
committerCopybara-Service <copybara-worker@google.com>2024-04-02 16:53:58 -0700
commit643c7bab4994d720125fb30e8fb3a10e99bcbb47 (patch)
tree914c28949d2ca1155009e720f4c7a00cb682c24e /create_lts.py
parentfbd5fa1781ce6151770557a90d018f71e64e45d0 (diff)
downloadabseil-643c7bab4994d720125fb30e8fb3a10e99bcbb47.tar.gz
abseil-643c7bab4994d720125fb30e8fb3a10e99bcbb47.tar.bz2
abseil-643c7bab4994d720125fb30e8fb3a10e99bcbb47.zip
Use _decimal_ literals for the CivilDay example.
Using `07` is a neat pun, but it not friendly to the reader. If the reader naively copies it and then changes the `7` to an `8` or a `9`, it will fail compilation: `invalid digit ... in octal constant`. Best avoided. Note that the other examples do not use octal literals. PiperOrigin-RevId: 621335289 Change-Id: I6b11a639c5ba675eb29467baf45996ceff0ed9bf
Diffstat (limited to 'create_lts.py')
0 files changed, 0 insertions, 0 deletions