mirror of
https://github.com/davidhalter/parso.git
synced 2025-12-16 01:17:13 +08:00
Clarify when using print() is the right use or not.
This commit is contained in:
@@ -4,3 +4,7 @@ print 1, 2 >> sys.stdout
|
||||
|
||||
|
||||
foo = ur'This is not possible in Python 3.'
|
||||
|
||||
# This is actually printing a tuple.
|
||||
#: E275:5
|
||||
print(1, 2)
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#!/usr/bin/env python3
|
||||
from typing import ClassVar, List
|
||||
|
||||
print(1, 2)
|
||||
|
||||
# Annotated function (Issue #29)
|
||||
def foo(x: int) -> int:
|
||||
|
||||
Reference in New Issue
Block a user