Import reduce from functools, it isn’t a builtin anymore in python3.

This commit is contained in:
Emmanuel Gil Peyrot 2016-11-05 15:31:01 +00:00
parent f32e99b748
commit 314b5797f3
1 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,8 @@ available under the terms of the BSD which accompanies this distribution, and
is available at U{http://www.opensource.org/licenses/bsd-license.php}
"""
from functools import reduce
from gi.repository import Gtk
from gi.repository import Gdk
from gi.repository import GObject