]> granicus.if.org Git - python/commit
Declare real and imag as read-only attributes.
authorGuido van Rossum <guido@python.org>
Fri, 8 Feb 2002 21:26:07 +0000 (21:26 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 8 Feb 2002 21:26:07 +0000 (21:26 +0000)
commitfa2e4c27d26ebf34779fbd2d7f77e08fc7bf7bd2
tree6822652d5d02729d249a213a6cfcd61c1c004665
parent5ff8cb4f1bb9f722908cf2331c95f9530e5bf108
Declare real and imag as read-only attributes.

This fixes SF bug #514858 (Gregory Smith): complex not entirely
immutable

2.2.1 Bugfix candidate!
Objects/complexobject.c