summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/ext/openstruct.py11
1 files changed, 4 insertions, 7 deletions
diff --git a/ranger/ext/openstruct.py b/ranger/ext/openstruct.py
index 8737a84f..96a75f49 100644
--- a/ranger/ext/openstruct.py
+++ b/ranger/ext/openstruct.py
@@ -3,20 +3,17 @@
 
 import collections
 
-# prepend __ to arguments because one might use "args"
-# or "keywords" as a keyword argument.
-
 class OpenStruct(dict):
     """The fusion of dict and struct"""
-    def __init__(self, *__args, **__keywords):
-        dict.__init__(self, *__args, **__keywords)
+    def __init__(self, *args, **keywords):
+        dict.__init__(self, *args, **keywords)
         self.__dict__ = self
 
 
 class DefaultOpenStruct(collections.defaultdict):
     """The fusion of dict and struct, with default values"""
-    def __init__(self, *__args, **__keywords):
-        collections.defaultdict.__init__(self, None, *__args, **__keywords)
+    def __init__(self, *args, **keywords):
+        collections.defaultdict.__init__(self, None, *args, **keywords)
         self.__dict__ = self
 
     def __getattr__(self, name):
:46 +0100 incremented version number and updated pydoc html files' href='/akspecs/ranger/commit/doc/pydoc/ranger.gui.curses_shortcuts.html?h=v1.8.1&id=34a60763e79546e0f84e30fbcc430632f3dbb39e'>34a60763 ^
4c13e1f2 ^






















34a60763 ^
4c13e1f2 ^






34a60763 ^
4c13e1f2 ^
34a60763 ^
4c13e1f2 ^












34a60763 ^
4c13e1f2 ^
b3556b21 ^
4c13e1f2 ^
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92