History

Python 3: use explicit relative import

Nils Philippsen committed 10 years ago

Commit a49a3f01 parent 362581e1 file · +1 −1Browse files

Showing the changes to python (1 of 1 file). Show all

Unified · Split

python/lib/generator.py+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 """ This file generates a c file from a list of cpp prototypes. """
44
55 import os, sys, shutil
6−from gen_pyobject import write_msg, gen_new_init, gen_do, gen_members, gen_methods, gen_finish
6+from .gen_pyobject import write_msg, gen_new_init, gen_do, gen_members, gen_methods, gen_finish
77
88 def get_cpp_objects():
99

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t