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
 
pan> ^
ac8acc7b ^
8b095f80 ^

8b095f80 ^

8b095f80 ^



bd5d3936 ^

639922e8 ^
8b095f80 ^

d8509b41 ^
8b095f80 ^

8b095f80 ^
8b095f80 ^
6c96a437 ^
8b095f80 ^

6c96a437 ^
78c50205 ^
8b095f80 ^

d559f68b ^
3c4c9c08 ^
8b095f80 ^









8b095f80 ^
2badd89a ^

6c96a437 ^
2badd89a ^
6c96a437 ^
2badd89a ^

6c96a437 ^
2badd89a ^




1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75