diff options
Diffstat (limited to 'gpscap.py')
-rw-r--r-- | gpscap.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -4,8 +4,9 @@ gpscap - GPS/AIS capability dictionary class. 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 under both Python 2 and Python 3. Preserve this property! -from __future__ import print_function +# This code runs compatibly under Python 2 and 3.x for x >= 2. +# Preserve this property! +from __future__ import absolute_import, print_function, division try: import configparser |