[Tutor] trouble using 2to3.py

Richard D. Moores rdmoores at gmail.com
Wed Nov 4 03:24:22 CET 2009


On Tue, Nov 3, 2009 at 17:21, Richard D. Moores <rdmoores at gmail.com> wrote:
> Another is, although I've seen this before in older Python docs, I
> never really understood things like
>
> for_stmt ::= "for" target_list "in" expression_list ":" suite
>             ["else" ":" suite]
>
> help> ::=
> no Python documentation found for '::='
>
> In particular, what exactly does "::=" mean?

Found it. See <http://docs.python.org/3.1/reference/introduction.html#notation>

Dick


More information about the Tutor mailing list