ed2826a Update python macros for the python3 cases.

Authored and Committed by jjames 2 years ago
    Update python macros for the python3 cases.
    
    Simplify python2 conditional.
    
        
file added
+22
file removed
-9
file modified
+12 -6