Fix [ 251 ] system_message.copy() TypeError. Fix nodes.Element.copy()
commit2d058db82d1ab38a8f7aeea0d273b5e5b8d92340
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Tue, 16 Jan 2018 13:30:57 +0000 (16 13:30 +0000)
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Tue, 16 Jan 2018 13:30:57 +0000 (16 13:30 +0000)
treef5c10d40d62e8e1d9d3924d8e87b062d95d4da39
parentd77fb9eab3752ab1b0790578de14ff0af8870983
Fix [ 251 ] system_message.copy() TypeError. Fix nodes.Element.copy()

Avoid clash with multiple values for keyword argument "rawsource".

Let nodes.Element.copy() also copy "document", "line",
and "source" attributes.

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8212 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
docutils/HISTORY.txt
docutils/docutils/nodes.py
docutils/test/test_nodes.py