mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +00:00
Remove usage of backticks.
This commit is contained in:
parent
db60d6e2aa
commit
0b70cca9f8
13 changed files with 14 additions and 16 deletions
|
@ -685,7 +685,7 @@ print L
|
|||
|
||||
|
||||
print 'atoms'
|
||||
### atom: '(' [testlist] ')' | '[' [testlist] ']' | '{' [dictmaker] '}' | '`' testlist '`' | NAME | NUMBER | STRING
|
||||
### atom: '(' [testlist] ')' | '[' [testlist] ']' | '{' [dictmaker] '}' | NAME | NUMBER | STRING
|
||||
### dictmaker: test ':' test (',' test ':' test)* [',']
|
||||
|
||||
x = (1)
|
||||
|
@ -706,8 +706,6 @@ x = {'one': 1, 'two': 2}
|
|||
x = {'one': 1, 'two': 2,}
|
||||
x = {'one': 1, 'two': 2, 'three': 3, 'four': 4, 'five': 5, 'six': 6}
|
||||
|
||||
x = `x`
|
||||
x = `1 or 2 or 3`
|
||||
x = x
|
||||
x = 'x'
|
||||
x = 123
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue