summaryrefslogtreecommitdiff
path: root/test/input/func_dangerous_default.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/input/func_dangerous_default.py')
-rw-r--r--test/input/func_dangerous_default.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/input/func_dangerous_default.py b/test/input/func_dangerous_default.py
new file mode 100644
index 0000000..0bf8727
--- /dev/null
+++ b/test/input/func_dangerous_default.py
@@ -0,0 +1,17 @@
+"""docstring"""
+
+__revision__ = ''
+
+HEHE = {}
+
+def function1(value = []):
+ """docstring"""
+ print value
+
+def function2(value = HEHE):
+ """docstring"""
+ print value
+
+def function3(value):
+ """docstring"""
+ print value