diff options
Diffstat (limited to 'gps')
-rw-r--r-- | gps/__init__.py | 4 | ||||
-rw-r--r-- | gps/client.py | 2 | ||||
-rwxr-xr-x | gps/gps.py | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/gps/__init__.py b/gps/__init__.py index 4292098e..553d30ea 100644 --- a/gps/__init__.py +++ b/gps/__init__.py @@ -2,7 +2,9 @@ # # This file is Copyright (c) 2010 by the GPSD project # BSD terms apply: see the file COPYING in the distribution root for details. - +# +# This code runs compatibly under Python 2 and 3.x for x >= 2. +# Preserve this property! from __future__ import absolute_import # Ensure Python2 behaves like Python 3 api_major_version = 5 # bumped on incompatible changes diff --git a/gps/client.py b/gps/client.py index 70f0b347..88d8054f 100644 --- a/gps/client.py +++ b/gps/client.py @@ -1,7 +1,7 @@ # This file is Copyright (c) 2010 by the GPSD project # BSD terms apply: see the file COPYING in the distribution root for details. # -# This code run compatibly under Python 2 and 3.x for x >= 3. +# This code run compatibly under Python 2 and 3.x for x >= 2. # Preserve this property! from __future__ import absolute_import, print_function, division @@ -15,7 +15,7 @@ # now live in a different module. # -# This code run compatibly under Python 2 and 3.x for x >= 3. +# This code runs compatibly under Python 2 and 3.x for x >= 2. # Preserve this property! from __future__ import absolute_import, print_function, division |