libstdc++/77645 Fix xmethods for std::list
authorJonathan Wakely <jwakely@redhat.com>
Mon, 19 Sep 2016 15:49:19 +0000 (16:49 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 19 Sep 2016 15:49:19 +0000 (16:49 +0100)
commit019270bcb3ff03b1dfb5a48b436af54e1d660421
treeba1b34e71f7f5241574fe23af7f24de9c405a8f4
parentfc15d9ecb432173f2a17c58352d4b70c1ee049e4
libstdc++/77645 Fix xmethods for std::list

PR libstdc++/77645
* python/libstdcxx/v6/xmethods.py (DequeWorkerBase.index): Rename
argument.
(ListWorkerBase.get_value_from_node): Define new method.
(ListFrontWorker.__call__, ListBackWorker.__call__): Use it.

From-SVN: r240233
libstdc++-v3/ChangeLog
libstdc++-v3/python/libstdcxx/v6/xmethods.py