text stringlengths 0 888 |
|---|
testlist: test (',' test)* [','] |
dictsetmaker: ( ((test ':' test | '**' expr) |
(comp_for | (',' (test ':' test | '**' expr))* [','])) | |
((test | star_expr) |
(comp_for | (',' (test | star_expr))* [','])) ) |
classdef: 'class' NAME ['(' [arglist] ')'] ':' suite |
arglist: argument (',' argument)* [','] |
# "test '=' test" is really "keyword '=' test", but we have no such token. |
# These need to be in a single rule to avoid grammar that is ambiguous |
# to our LL(1) parser. Even though 'test' includes '*expr' in star_expr, |
# we explicitly match '*' here, too, to give it proper precedence. |
# Illegal combinations and orderings are blocked in ast.c: |
# multiple (test comp_for) arguments are blocked; keyword unpackings |
# that precede iterable unpackings are blocked; etc. |
argument: ( test [comp_for] | |
test ':=' test | |
test '=' test | |
'**' test | |
'*' test ) |
comp_iter: comp_for | comp_if |
comp_for: [ASYNC] 'for' exprlist 'in' testlist_safe [comp_iter] |
comp_if: 'if' old_test [comp_iter] |
testlist1: test (',' test)* |
# not used in grammar, but may appear in "node" passed from Parser to Compiler |
encoding_decl: NAME |
yield_expr: 'yield' [yield_arg] |
yield_arg: 'from' test | testlist_star_expr |
# Copyright 2006 Google, Inc. All Rights Reserved. |
# Licensed to PSF under a Contributor Agreement. |
# A grammar to describe tree matching patterns. |
# Not shown here: |
# - 'TOKEN' stands for any token (leaf node) |
# - 'any' stands for any node (leaf or interior) |
# With 'any' we can still specify the sub-structure. |
# The start symbol is 'Matcher'. |
Matcher: Alternatives ENDMARKER |
Alternatives: Alternative ('|' Alternative)* |
Alternative: (Unit | NegatedUnit)+ |
Unit: [NAME '='] ( STRING [Repeater] |
| NAME [Details] [Repeater] |
| '(' Alternatives ')' [Repeater] |
| '[' Alternatives ']' |
) |
NegatedUnit: 'not' (STRING | NAME [Details] | '(' Alternatives ')') |
Repeater: '*' | '+' | '{' NUMBER [',' NUMBER] '}' |
Details: '<' Alternatives '>' |
This directory exists so that 3rd party packages can be installed |
here. Read the source for site.py for more details. |
[console_scripts] |
pip=pip._internal.cli.main:main |
pip3=pip._internal.cli.main:main |
@Switch01 |
A_Rog |
Aakanksha Agrawal |
Abhinav Sagar |
ABHYUDAY PRATAP SINGH |
abs51295 |
AceGentile |
Adam Chainz |
Adam Tse |
Adam Turner |
Adam Wentz |
admin |
Adolfo Ochagavía |
Adrien Morison |
Agus |
ahayrapetyan |
Ahilya |
AinsworthK |
Akash Srivastava |
Alan Yee |
Albert Tugushev |
Albert-Guan |
albertg |
Alberto Sottile |
Aleks Bunin |
Ales Erjavec |
Alessandro Molina |
Alethea Flowers |
Alex Gaynor |
Alex Grönholm |
Alex Hedges |
Alex Loosley |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.