mirror of
https://github.com/davidhalter/parso.git
synced 2026-10-21 12:47:04 +08:00
Clarify when using print() is the right use or not.
This commit is contained in:
1 parent
20fdc18ec5
commit
dd7c12834e
2 files changed
+5
No files matched your search
@@ -4,3 +4,7 @@ print 1, 2 >> sys.stdout
|
|||||||
|
|
||||||
|
|
||||||
foo = ur'This is not possible in Python 3.'
|
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
|
#!/usr/bin/env python3
|
||||||
from typing import ClassVar, List
|
from typing import ClassVar, List
|
||||||
|
|
||||||
|
print(1, 2)
|
||||||
|
|
||||||
# Annotated function (Issue #29)
|
# Annotated function (Issue #29)
|
||||||
def foo(x: int) -> int:
|
def foo(x: int) -> int:
|
||||||
|
|||||||
Reference in new issue
Block a user