Clarify when using print() is the right use or not.

This commit is contained in:
Dave Halter
2017-07-11 00:11:25 +02:00
parent 20fdc18ec5
commit dd7c12834e
2 changed files with 5 additions and 0 deletions

View File

@@ -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)

View File

@@ -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: