Skip to content

Commit c069f15

Browse files
committed
More consistent imports, and in alphabetical order.
1 parent 86e5bc8 commit c069f15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ Add widgets to the `area` attribute of a `ScrollableAreaQt5`/`ScrollableAreaQt6`
6969
In GTK, containers are widgets, so they can be aligned in other containers.
7070

7171
```Python
72-
import itertools
7372
import gi; gi.require_version('Gtk', '3.0')
74-
from gi.repository import Gtk
73+
import gi.repository.Gtk as Gtk
74+
import itertools
7575

7676
window = Gtk.Window()
7777
window.connect('destroy', Gtk.main_quit)

0 commit comments

Comments
 (0)