2021-04-28 16:49:39 +02:00
|
|
|
The ``++print++`` statement was removed in Python 3.0. The built-in function should be used instead.
|
|
|
|
|
2021-04-28 18:08:03 +02:00
|
|
|
|
2021-04-28 16:49:39 +02:00
|
|
|
== Noncompliant Code Example
|
|
|
|
|
|
|
|
----
|
|
|
|
print '1' # Noncompliant
|
|
|
|
----
|
|
|
|
|
2021-04-28 18:08:03 +02:00
|
|
|
|
2021-04-28 16:49:39 +02:00
|
|
|
== Compliant Solution
|
|
|
|
|
|
|
|
----
|
|
|
|
print('1')
|
|
|
|
----
|
2021-04-28 18:08:03 +02:00
|
|
|
|