summary refs log tree commit diff stats
path: root/examples/plugin_new_sorting_method.py
diff options
context:
space:
mode:
authornfnty <git@nfnty.se>2017-01-21 22:30:59 +0100
committernfnty <git@nfnty.se>2017-01-21 22:30:59 +0100
commit9f5eeff72146d3c5178d66b4879af7a6abfc22f1 (patch)
treebde5fa9ffde17e76700882ab489297c1855c2ad5 /examples/plugin_new_sorting_method.py
parent1c90e610de6591e8052a1056c775219b5e767002 (diff)
downloadranger-9f5eeff72146d3c5178d66b4879af7a6abfc22f1.tar.gz
Python 3 division: Import `division` from `__future__`
Diffstat (limited to 'examples/plugin_new_sorting_method.py')
-rw-r--r--examples/plugin_new_sorting_method.py2
1 files changed, 1 insertions, 1 deletions
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