Skip to content

Commit b8f6642

Browse files
author
Christopher Doris
committed
simplify imports in Compat
1 parent 55e11de commit b8f6642

File tree

7 files changed

+12
-9
lines changed

7 files changed

+12
-9
lines changed

src/Compat/gui.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
module GUI
33

44
using ...PythonCall
5-
using ...C: C
6-
using ...Core: pynew, pyosmodule, pycopy!, pymodulehooks
5+
using ...C
6+
using ...Core
77

88
import ...PythonCall: event_loop_on, event_loop_off, fix_qt_plugin_path
99

src/Compat/ipython.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
module IPython
33

44
using ...PythonCall
5-
using ...Core: pystr_fromUTF8
5+
using ...Core
66

77
"""
88
PythonDisplay()

src/Compat/multimedia.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
module Multimedia
33

44
using ...PythonCall
5-
using ...Core: pyisnull, pysysmodule
5+
using ...Core
66

77
const PYSHOW_RULES = Function[]
88

src/Compat/pycall.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
module PyCall
33

44
using ...PythonCall
5-
using ...C: C
6-
using ...Core: pynew
5+
using ...C
6+
using ...Core
77

88
using Requires: @require
99

src/Compat/serialization.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module Serialization
22

33
using ...PythonCall
4-
using ...Core: pyisnull, pybytes_asvector, pynew
4+
using ...Core
55

66
using Serialization: Serialization as S
77

src/Compat/tables.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module Tables
22

33
using ...PythonCall
4-
using Tables: Tables as T
54

5+
using Tables: Tables as T
66
using Requires: @require
77

88
import ...PythonCall: pytable

src/Core/Core.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,10 @@ export pynew,
139139
@autopy,
140140
pystr_fromUTF8,
141141
pystr_asUTF8vector,
142-
pybytes_asvector
142+
pybytes_asvector,
143+
pyosmodule,
144+
pysysmodule,
145+
pymodulehooks
143146

144147
const ROOT_DIR = dirname(dirname(@__DIR__))
145148

0 commit comments

Comments
 (0)