Skip to content

Commit

Permalink
Update CHANGELOG plus minor edits. Closes wireservice#499.
Browse files Browse the repository at this point in the history
  • Loading branch information
nbedi committed Feb 18, 2016
1 parent 0893232 commit 400daa2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
1.2.3
-----

* :class:`.MappedSequence` now throws explicit error on __setitem__. (#499)
* Added a ``require_match`` argument to :meth:`.Table.join`. (#480)
* Cookbook: Rename columns in a table. (#469)
* :meth:`.Table.normalize` implemented. (#487)
Expand Down
5 changes: 2 additions & 3 deletions agate/mapped_sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,8 @@ def __setitem__(self, key, value):
"""
Set values by index, which we want to fail loudly.
"""
raise TypeError("Rows are read only and do not support item \
assignment. Rather that overwrite your existing data, you could create a \
new column based on its contents. Learn how here: \
raise TypeError("Agate data structures are read-only by design. \
Consider creating a new column based on this structure's contents. Learn how here: \
http://agate.readthedocs.org/en/latest/tutorial.html#computing-new-columns")

def __iter__(self):
Expand Down

0 comments on commit 400daa2

Please sign in to comment.