rspec/rules/S2320/python/rule.adoc
2021-04-28 18:08:03 +02:00

17 lines
217 B
Plaintext

The ``++print++`` statement was removed in Python 3.0. The built-in function should be used instead.
== Noncompliant Code Example
----
print '1' # Noncompliant
----
== Compliant Solution
----
print('1')
----