From 9f5eeff72146d3c5178d66b4879af7a6abfc22f1 Mon Sep 17 00:00:00 2001 From: nfnty Date: Sat, 21 Jan 2017 22:30:59 +0100 Subject: Python 3 division: Import `division` from `__future__` --- examples/plugin_new_macro.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/plugin_new_macro.py') diff --git a/examples/plugin_new_macro.py b/examples/plugin_new_macro.py index 0e44cdd3..cb4d7413 100644 --- a/examples/plugin_new_macro.py +++ b/examples/plugin_new_macro.py @@ -4,7 +4,7 @@ # date in commands that allow macros. You can test it with the command # ":shell echo %date; read" -from __future__ import (absolute_import, print_function) +from __future__ import (absolute_import, division, print_function) import time -- cgit 1.4.1-2-gfad0