<?xml version="1.0" encoding="ISO-8859-1"?>
<linguagem>
    <topico>
		<nome>Python 3.0</nome>
		<titulo>Python 3.0: Diagrama Sintático - Diagrama de Sintaxe, BNF, Comandos, Exemplos</titulo>
 		<descritor>apoie, apoie.org, Python, file_input, single_input, eval_input, stmt, if_stmt, while_stmt, for_stmt, with_stmt, decorator, classdef, funcdef, small_stmt, expr_stmt, flow_stmt, import_stmt, import_from, import_as_names, try_stmt, except_clause, typedargslist, name_test, tfpdef, test, suite, arglist, argument, varargslist, name_test_list, yield_expr, or_test, expr, atom, testlist_comp, dictorsetmaker, trailer, subscript, dotted_as_names, comp_for, test_nocond, BNF, Diagrama Sintático - Diagrama de Sintaxe, Exemplo, Comandos, Linguagem, Filtro, xml, sintaxe, sintaxe original, desenho, programação</descritor>
		<lead>Sintaxes completas representadas por &lt;a href=&quot;DiagramaSintatico.htm&quot; target=&quot;_blank&quot;&gt;Diagrama Sintático - Diagrama de Sintaxe&lt;/a&gt; (ver &lt;a href=&quot;DiagramaSintaticoConvencao.htm&quot; target=&quot;_blank&quot;&gt;convenções de Diagrama Sintático&lt;/a&gt;) ou &lt;a href=&quot;http://en.wikipedia.org/wiki/Backus-Naur_Form&quot; target=&quot;_blank&quot;&gt;BNF&lt;/a&gt; (ver &lt;a href=&quot;LazyBNFExemplo.htm&quot; target=&quot;_blank&quot;&gt;convenções de Lazy BNF&lt;/a&gt;).</lead>
		<link>&lt;a href="http://www.python.org" target="_blank"&gt;&lt;img style="border: 0px solid ;" alt="Python" title="Python" src="Python.png"&gt;&lt;/a&gt;&lt;a href="Python30Original.htm" target="_blank"&gt;Diagrama Sintático - Diagrama de Sintaxe Original&lt;/a&gt;&lt;a href="http://pt.wikipedia.org/wiki/Python" target="_blank"&gt;&lt;img style="border: 0px solid ;" alt="wikipedia" title="Wikipedia" src="Wikipedia.gif"&gt;&lt;/a&gt;</link>
	    <origem>Python3.xml</origem>
		<referencia>~DSGerador~</referencia>
	    <fonte>http://www.python.org/doc/3.0/reference/grammar.html</fonte>
    </topico>	
    <topico> 
       	<titulo>file_input</titulo>	
		<bnf>[(NEWLINE | stmt)+] ENDMARKER</bnf>
		<desc>&lt;img src=&quot;Python3file_input.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 file_input&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 file_input&quot;/&gt;</desc>
    </topico> 
    <topico> 
        <titulo>single_input</titulo> 
		<bnf>stmt? NEWLINE</bnf>
		<desc>&lt;img src=&quot;Python3single_input.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 single_input&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 single_input&quot;/&gt;</desc>
    </topico> 
    <topico> 
        <titulo>eval_input</titulo> 
		<bnf>test {',' test} ','? [NEWLINE+] ENDMARKER</bnf>
		<desc>&lt;img src=&quot;Python3eval_input.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 eval_input&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 eval_input&quot;/&gt;</desc>
    </topico> 
    <topico> 
        <titulo>stmt</titulo> 
		<bnf>small_stmt (';' small_stmt)* ';'? |if_stmt | while_stmt | for_stmt | try_stmt | with_stmt | [decorator+] (classdef | funcdef)</bnf>
		<desc>&lt;img src=&quot;Python3stmt.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 stmt&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 stmt&quot;/&gt;</desc>
    </topico> 
    <topico> 
        <titulo>if_stmt</titulo> 
		<bnf>'if' [(test ':' suite 'elif')+] test ':' suite ['else' ':' suite]</bnf>
		<desc>&lt;img src=&quot;Python3if_stmt.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 if_stmt&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 if_stmt&quot;/&gt;</desc>
		<exemplo>&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;span class="codigo"&gt;&lt;pre&gt;&lt;span class="InicioLinha"&gt;&gt;&gt;&gt;&lt;/span&gt; &lt;span class="comando"&gt;if&lt;/span&gt; x &lt;span class="operador"&gt;&lt;&lt;/span&gt; &lt;span class="numero"&gt;0&lt;/span&gt;:&lt;br /&gt;&lt;span class="InicioLinha"&gt;...&lt;/span&gt; x &lt;span class="operador"&gt;=&lt;/span&gt; &lt;span class="numero"&gt;0&lt;/span&gt;&lt;br /&gt;&lt;span class="InicioLinha"&gt;...&lt;/span&gt; &lt;span class="comando"&gt;print&lt;/span&gt; &lt;span class="string"&gt;'Negative changed to zero'&lt;/span&gt;&lt;br /&gt;&lt;span class="InicioLinha"&gt;...&lt;/span&gt; &lt;span class="comando"&gt;elif&lt;/span&gt; x &lt;span class="operador"&gt;==&lt;/span&gt; &lt;span class="numero"&gt;0&lt;/span&gt;:&lt;br /&gt;&lt;span class="InicioLinha"&gt;...&lt;/span&gt; &lt;span class="comando"&gt;print&lt;/span&gt; &lt;span class="string"&gt;'Zero'&lt;/span&gt;&lt;br /&gt;&lt;span class="InicioLinha"&gt;...&lt;/span&gt; &lt;span class="comando"&gt;elif&lt;/span&gt; x &lt;span class="operador"&gt;==&lt;/span&gt; &lt;span class="numero"&gt;1&lt;/span&gt;:&lt;br /&gt;&lt;span class="InicioLinha"&gt;... &lt;/span&gt; &lt;span class="comando"&gt;print&lt;/span&gt; &lt;span class="string"&gt;'Single'&lt;/span&gt;&lt;br /&gt;&lt;span class="InicioLinha"&gt;...&lt;/span&gt; &lt;span class="comando"&gt;else&lt;/span&gt;:&lt;br /&gt;&lt;span class="InicioLinha"&gt;...&lt;/span&gt; &lt;span class="comando"&gt;print&lt;/span&gt; &lt;span class="string"&gt;'More'&lt;/span&gt;&lt;span class="InicioLinha"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</exemplo>
    	</topico>
    	<topico> 
        	<titulo>while_stmt</titulo> 
			<bnf>'while' test':' suite ['else' ':' suite]</bnf>
			<desc>&lt;img src=&quot;Python3while_stmt.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 while_stmt&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 while_stmt&quot;/&gt;</desc>
			<exemplo>&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;span class="codigo"&gt;&lt;pre&gt;&lt;span class="InicioLinha"&gt;&gt;&gt;&gt;&lt;/span&gt; &lt;span class="ExemploComent"&gt;# Fibonacci series:&lt;/span&gt;
&lt;span class="InicioLinha"&gt;...&lt;/span&gt; &lt;span class="ExemploComent"&gt;# the sum of two elements defines the next&lt;/span&gt;&lt;br /&gt;&lt;span class="InicioLinha"&gt;...&lt;/span&gt; a, b &lt;span class="operador"&gt;=&lt;/span&gt; &lt;span class="numero"&gt;0&lt;/span&gt;, &lt;span class="numero"&gt;1&lt;/span&gt;&lt;br /&gt;&lt;span class="InicioLinha"&gt;&gt;&gt;&gt;&lt;/span&gt; &lt;span class="comando"&gt;while&lt;/span&gt; b &lt;span class="operador"&gt;&lt;&lt;/span&gt; &lt;span class="numero"&gt;10&lt;/span&gt;:&lt;br&gt;&lt;span class="InicioLinha"&gt;...&lt;/span&gt; &lt;span class="comando"&gt;print&lt;/span&gt; b&lt;br /&gt;&lt;span class="InicioLinha"&gt;...&lt;/span&gt; a, b &lt;span class="operador"&gt;=&lt;/span&gt; b, a&lt;span class="operador"&gt;+&lt;/span&gt;b&lt;/pre&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</exemplo>
    	</topico> 
   	    <topico> 
        	<titulo>for_stmt</titulo> 
		    <bnf>'for' '*'? expr (',' '*'? expr)* ','? 'in' test (',' test)* ','? ':' suite['else' ':' suite]</bnf>
			<desc>&lt;img src=&quot;Python3for_stmt.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 for_stmt&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 for_stmt&quot;/&gt;</desc>
    	    <exemplo>&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;span class="codigo"&gt;&lt;pre&gt;&lt;span class="InicioLinha"&gt;&gt;&gt;&gt;&lt;/span&gt; &lt;span class="ExemploComent"&gt;# Measure some strings:&lt;/span&gt;&lt;br&gt;&lt;span class="InicioLinha"&gt;...&lt;/span&gt; a &lt;span class="operador"&gt;=&lt;/span&gt; [&lt;span class="string"&gt;'cat'&lt;/span&gt;, &lt;span class="string"&gt;'window'&lt;/span&gt;, &lt;span class="string"&gt;'defenestrate'&lt;/span&gt;]&lt;br&gt;&lt;span class="InicioLinha"&gt;&gt;&gt;&gt;&lt;/span&gt; &lt;span class="comando"&gt;for&lt;/span&gt; x &lt;span class="comando"&gt;in&lt;/span&gt; a:&lt;br&gt;&lt;span class="InicioLinha"&gt;...&lt;/span&gt; &lt;span class="comando"&gt;print&lt;/span&gt; x, &lt;span class="funcao"&gt;len&lt;/span&gt;(x)&lt;/pre&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</exemplo>
		</topico> 
    	<topico> 
        	<titulo>with_stmt</titulo> 
		    <bnf>'with' test [ 'as' expr ] ':' suite</bnf>
			<desc>&lt;img src=&quot;Python3with_stmt.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 with_stmt&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 with_stmt&quot;/&gt;</desc>
    	</topico> 
    	<topico> 
        	<titulo>decorator</titulo> 
			<bnf>'@' NAME ('.' NAME)* [ '(' arglist')' ] NEWLINE</bnf>
			<desc>&lt;img src=&quot;Python3decorator.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 decorator&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 decorator&quot;/&gt;</desc>
    	</topico> 
	<topico>
		<titulo>classdef</titulo>
		<bnf>'class' NAME ['(' arglist ')'] ':' suite</bnf>
		<desc>&lt;img src=&quot;Python3classdef.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 classdef&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 classdef&quot;/&gt;</desc>
	</topico>
	<topico>
		<titulo>funcdef</titulo>
		<bnf>'def' NAME '(' typedargslist')'['-&gt;' test] ':' suite</bnf>
		<desc>&lt;img src=&quot;Python3funcdef.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 funcdef&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 funcdef&quot;/&gt;</desc>
	</topico>
	<topico>
		<titulo>small_stmt</titulo>
		<bnf>expr_stmt | 'del' '*'? expr (',' '*'? expr)* ','? | 'pass'| flow_stmt | import_stmt | ('global
	'|' nonlocal') NAME (',' NAME)* |'assert' test [',' test]</bnf>
		<desc>&lt;img src=&quot;Python3small_stmt.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 small_stmt&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 small_stmt&quot;/&gt;</desc>
	</topico>
	<topico>
		<titulo>expr_stmt</titulo>
		<bnf>test (',' test)* ','? ('+   -   *   /  **   &amp;   |  ^   &lt; &lt;   &gt; &gt;   //' '=' (yield_expr | test (',' test)* ','?)|('=' (yield_expr |
	test (',' test)* ','?))+ | "")</bnf>
		<desc>&lt;img src=&quot;Python3expr_stmt.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 expr_stmt&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 expr_stmt&quot;/&gt;</desc>
	</topico>
	<topico>
		<titulo>flow_stmt</titulo>
		<bnf>'break'| 'continue' | 'return' [test (',' test)* ','?] | 'raise' [test ['from' test]] | yield_expr</bnf>
		<desc>&lt;img src=&quot;Python3flow_stmt.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 flow_stmt&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 flow_stmt&quot;/&gt;</desc>
	</topico>
	<topico>
		<titulo>import_stmt</titulo>
		<bnf>'import' dotted_as_names | import_from</bnf>
		<desc>&lt;img src=&quot;Python3import_stmt.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 import_stmt&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 import_stmt&quot;/&gt;</desc>
	</topico>
	<topico>
		<titulo>import_from</titulo>
		<bnf>'from' ([('.' | '...')+] NAME ('.'NAME)* | ('.' |'...')+) 'import' ('*' | '(' import_as_names ')' | import_as_names)</bnf>
		<desc>&lt;img src=&quot;Python3import_from.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 import_from&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 import_from&quot;/&gt;</desc>
	</topico>
	<topico>
		<titulo>import_as_names</titulo>
		<bnf>NAME ['as' NAME] (',' NAME ['as' NAME])* ','?</bnf>
		<desc>&lt;img src=&quot;Python3import_as_names.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 import_as_names&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 import_as_names&quot;/&gt;</desc>
	</topico>
	<topico>
		<titulo>try_stmt</titulo>
		<bnf>'try' ':' suite((except_clause ':' suite)+ ['else' ':' suite] ("" | 'finally' ':' suite) | 'finally' ':' suite)</bnf>
		<desc>&lt;img src=&quot;Python3try_stmt.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 try_stmt&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 try_stmt&quot;/&gt;</desc>
	</topico>
	<topico>
		<titulo>except_clause</titulo>
		<bnf>'except' [test ['as' NAME]]</bnf>
		<desc>&lt;img src=&quot;Python3except_clause.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 except_clause&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 except_clause&quot;/&gt;</desc>
	</topico>
	<topico>
		<titulo>typedargslist</titulo>
		<bnf>([name_test ',']('*' tfpdef? [',' name_test] [',' '**' tfpdef] | '**' tfpdef) | name_test? ','?)</bnf>
		<desc>&lt;img src=&quot;Python3typedargslist.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 typedargslist&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 typedargslist&quot;/&gt;</desc>
	</topico>
	<topico>
		<titulo>name_test</titulo>
		<bnf>tfpdef ['=' test] (',' tfpdef ['=' test])*</bnf>
		<desc>&lt;img src=&quot;Python3name_test.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 name_test&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 name_test&quot;/&gt;</desc>
	</topico>
	<topico>
		<titulo>tfpdef</titulo>
		<bnf>NAME [':' test]</bnf>
		<desc>&lt;img src=&quot;Python3tfpdef.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 tfpdef&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 tfpdef&quot;/&gt;</desc>
	</topico>
	<topico>
		<titulo>test</titulo>
		<bnf>or_test ['if' or_test 'else' test] | 'lambda' varargslist ':' test</bnf>
		<desc>&lt;img src=&quot;Python3test.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 test&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 test&quot;/&gt;</desc>
	</topico>
	<topico>
		<titulo>suite</titulo>
		<bnf>small_stmt (';' small_stmt)* [';'] NEWLINE | NEWLINE INDENT stmt+ DEDENT</bnf>
		<desc>&lt;img src=&quot;Python3suite.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 suite&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 suite&quot;/&gt;</desc>
	</topico>
	<topico>
		<titulo>arglist</titulo>
		<bnf>(argument ',')* (argument [','] | '*' test (',' argument)* [',' '**' test] | '**' test)</bnf>
		<desc>&lt;img src=&quot;Python3arglist.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 arglist&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 arglist&quot;/&gt;</desc>
	</topico>
	<topico>
		<titulo>argument</titulo>
		<bnf>test (comp_for? | test '=' test)</bnf>
		<desc>&lt;img src=&quot;Python3argument.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 argument&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 argument&quot;/&gt;</desc>
	</topico>
	<topico>
		<titulo>varargslist</titulo>
		<bnf>name_test_list ',' ('*' [NAME] [',' name_test_list] [',' '**' NAME] | '**' NAME)| name_test_list [',']</bnf>
		<desc>&lt;img src=&quot;Python3varargslist.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 varargslist&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 varargslist&quot;/&gt;</desc>
	</topico>	
	<topico>
		<titulo>name_test_list</titulo>
		<bnf>NAME ['=' test]{',' NAME ['=' test]}</bnf>
		<desc>&lt;img src=&quot;Python3name_test_list.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 name_test_list&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 name_test_list&quot;/&gt;</desc>
	</topico>	
	<topico>
		<titulo>yield_expr</titulo>
		<bnf>'yield' [test (',' test)* ','?]</bnf>
		<desc>&lt;img src=&quot;Python3yield_expr.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 yield_expr&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 yield_expr&quot;/&gt;</desc>
	</topico>	
	<topico>
		<titulo>or_test</titulo>
		<bnf>('not'+)? '*'? expr("&lt; | &gt; | == | &gt;= | &lt;= | != | in | not in | is | is not" '*'?expr)* (('and' | 'or') ('not'+)? '*'? expr("&lt; | &gt; | == | &gt;= | &lt;= | != | in | not in | is | is not" '*' ?expr)*)*</bnf>
		<desc>&lt;img src=&quot;Python3or_test.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 or_test&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 or_test&quot;/&gt;</desc>
	</topico>	
	<topico>
		<titulo>expr</titulo>
		<bnf>'+ | - | ~'? atom [trailer+]('+   -   *   /   %   **   &amp;  |  ^  &lt;&lt;   &gt;&gt;   //' '+ | - | ~'? atom [trailer+])*</bnf>
		<desc>&lt;img src=&quot;Python3expr.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 expr&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 expr&quot;/&gt;</desc>
	</topico>	
	<topico>
		<titulo>atom</titulo>
		<bnf>('(' ([yield_expr]|testlist_comp) ')'|'['testlist_comp']'|'{'dictorsetmaker '}' |NAME | NUMBER | STRING+ | '...' | 'None' | 'True' | 'False')</bnf>
		<desc>&lt;img src=&quot;Python3atom.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 atom&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 atom&quot;/&gt;</desc>
	</topico>	
	<topico>
		<titulo>testlist_comp</titulo>
		<bnf>[test (comp_for | [(',' test)+] [','])]</bnf>
		<desc>&lt;img src=&quot;Python3testlist_comp.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 testlist_comp&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 testlist_comp&quot;/&gt;</desc>
	</topico>	
	<topico>
		<titulo>dictorsetmaker</titulo>
		<bnf>test ( (':' test (comp_for |[(',' test ':' test)+] ','?)) |[(comp_for | ',' test)+] ','? )</bnf>
		<desc>&lt;img src=&quot;Python3dictorsetmaker.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 dictorsetmaker&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 dictorsetmaker&quot;/&gt;</desc>
	</topico>	
	<topico>
		<titulo>trailer</titulo>
		<bnf>'(' arglist ')' | '[' subscript (','subscript)* ','? ']' |'.' NAME</bnf>
		<desc>&lt;img src=&quot;Python3trailer.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 trailer&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 trailer&quot;/&gt;</desc>
	</topico>	
	<topico>
		<titulo>subscript</titulo>
		<bnf>test | [test] ':' test? (':' test?)?</bnf>
		<desc>&lt;img src=&quot;Python3subscript.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 subscript&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 subscript&quot;/&gt;</desc>
	</topico>	
	<topico>
		<titulo>dotted_as_names</titulo>
		<bnf>NAME ('.' NAME)* ['as' NAME](',' NAME ('.' NAME)*['as' NAME])*</bnf>
		<desc>&lt;img src=&quot;Python3dotted_as_names.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 dotted_as_names&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 dotted_as_names&quot;/&gt;</desc>
	</topico>	
	<topico>
		<titulo>comp_for</titulo>
		<bnf>('for' '*'? expr (',' '*'? expr)* ','? 'in' or_test [('if'test_nocond)+])+</bnf>
		<desc>&lt;img src=&quot;Python3comp_for.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 comp_for&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 comp_for&quot;/&gt;</desc>
	</topico>	
	<topico>
		<titulo>test_nocond</titulo>
		<bnf>or_test | 'lambda' varargslist ':' test_nocond</bnf>
		<desc>&lt;img src=&quot;Python3test_nocond.png&quot; alt=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 test_nocond&quot; title=&quot;Diagrama Sintático - Diagrama de Sintaxe Python 3.0 test_nocond&quot;/&gt;</desc>
	</topico>
</linguagem>
