summaryrefslogtreecommitdiffstats
path: root/Lib/test/output
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-08-24 20:14:10 (GMT)
committerThomas Wouters <thomas@python.org>2000-08-24 20:14:10 (GMT)
commit104a7bcc28f96c6192815e82971d660c9910c16b (patch)
tree9154c2e6b47cc4721c648457e7762e804ca97e2e /Lib/test/output
parent434d0828d81855692d45c3fdc0905a67c17d83ba (diff)
downloadcpython-104a7bcc28f96c6192815e82971d660c9910c16b.zip
cpython-104a7bcc28f96c6192815e82971d660c9910c16b.tar.gz
cpython-104a7bcc28f96c6192815e82971d660c9910c16b.tar.bz2
Support for augmented assignment in the UserList, UserDict, UserString and
rfc822 (Addresslist) modules. Also a preliminary testcase for augmented assignment, which should actually be merged with the test_class testcase I added last week.
Diffstat (limited to 'Lib/test/output')
-rw-r--r--Lib/test/output/test_augassign48
1 files changed, 48 insertions, 0 deletions
diff --git a/Lib/test/output/test_augassign b/Lib/test/output/test_augassign
new file mode 100644
index 0000000..ceffd59
--- /dev/null
+++ b/Lib/test/output/test_augassign
@@ -0,0 +1,48 @@
+test_augassign
+6
+[6]
+6
+[1, 2, 3, 4, 1, 2, 3, 4]
+[1, 2, 1, 2, 3]
+1
+1
+1
+11
+1
+12
+1
+1
+13
+__add__ called
+__radd__ called
+__iadd__ called
+__sub__ called
+__rsub__ called
+__isub__ called
+__mul__ called
+__rmul__ called
+__imul__ called
+__div__ called
+__rdiv__ called
+__idiv__ called
+__mod__ called
+__rmod__ called
+__imod__ called
+__pow__ called
+__rpow__ called
+__ipow__ called
+__or__ called
+__ror__ called
+__ior__ called
+__and__ called
+__rand__ called
+__iand__ called
+__xor__ called
+__rxor__ called
+__ixor__ called
+__rshift__ called
+__rrshift__ called
+__irshift__ called
+__lshift__ called
+__rlshift__ called
+__ilshift__ called