]> git.ipfire.org Git - thirdparty/gcc.git/commit
Replace casts with floordiv operator in Python xmethods
authorJonathan Wakely <jwakely@redhat.com>
Tue, 20 Sep 2016 09:57:02 +0000 (10:57 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 20 Sep 2016 09:57:02 +0000 (10:57 +0100)
commit564beb5f9b4cd40b4d60a524dd41950faec9a40d
tree19015c0ead85ff8066c51862e53d6d7692c944d0
parenta063e2049849b38816068bd279a9f2fb542120f9
Replace casts with floordiv operator in Python xmethods

* python/libstdcxx/v6/xmethods.py (DequeWorkerBase.__init__)
(DequeWorkerBase.index, VectorWorkerBase.get): Use // for division.

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