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_sorting_method.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/plugin_new_sorting_method.py') diff --git a/examples/plugin_new_sorting_method.py b/examples/plugin_new_sorting_method.py index fefeaad9..d294067e 100644 --- a/examples/plugin_new_sorting_method.py +++ b/examples/plugin_new_sorting_method.py @@ -3,7 +3,7 @@ # This plugin adds the sorting algorithm called 'random'. To enable it, type # ":set sort=random" or create a key binding with ":map oz set sort=random" -from __future__ import (absolute_import, print_function) +from __future__ import (absolute_import, division, print_function) from random import random -- cgit 1.4.1-2-gfad0