rspec/rules/S2320/python/rule.adoc
2021-04-28 16:49:39 +02:00

14 lines
214 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')
----