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/lib (1 of 1 file). Show all

Unified · Split

python/lib/generator.py+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3""" This file generates a c file from a list of cpp prototypes. """3""" This file generates a c file from a list of cpp prototypes. """
4 4
5import os, sys, shutil5import os, sys, shutil
6from gen_pyobject import write_msg, gen_new_init, gen_do, gen_members, gen_methods, gen_finish6from .gen_pyobject import write_msg, gen_new_init, gen_do, gen_members, gen_methods, gen_finish
7 7
8def get_cpp_objects():8def get_cpp_objects():
9 9

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