[docs] Question mark in grammar notation

Thomas Oliveira thomas.oliveira at gmail.com
Thu Jun 24 04:04:42 CEST 2010

Dear Admin,

In http://docs.python.org/py3k/library/string.html#format-string-syntax
a question mark is used at the definition of the grammar for a 
replacement field:

arg_name          ::=  (identifier | integer)?

However, it is not defined in

Would it be the same as
arg_name          ::=  [identifier | integer]

Thank you for your attention,

Thomas Oliveira

More information about the docs mailing list