Update syntax.rst

This commit is contained in:
Victor Zverovich 2017-12-16 08:58:54 -08:00 committed by GitHub
parent f9c97de46b
commit cabce31f45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,6 +35,8 @@ If the numerical arg_ids in a format string are 0, 1, 2, ... in sequence,
they can all be omitted (not just some) and the numbers 0, 1, 2, ... will be they can all be omitted (not just some) and the numbers 0, 1, 2, ... will be
automatically inserted in that order. automatically inserted in that order.
Named arguments can be referred to by their names or indices.
Some simple format string examples:: Some simple format string examples::
"First, thou shalt count to {0}" // References the first argument "First, thou shalt count to {0}" // References the first argument