2 ms·
Python 3 syntax is mostly a superset of the 2 language, except for losing "print." The portability issues are around changed semantics of the main string type,
by loeg 7y ago
Python 3 syntax is mostly a superset of the 2 language, except for losing "print." The portability issues are around changed semantics of the main string type, changes to the C module API, and renaming of standard library components — rather than syntax. That's been my experience, anyway.