Skip to content

Commit bb98aa8

Browse files
author
Drew O'Meara
committed
added import docs
1 parent 61c7830 commit bb98aa8

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

examples/multi-ctx/main.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,12 @@ import (
1212
"sync"
1313
"time"
1414

15+
// This initializes gpython for runtime execution and is critical.
16+
// It defines forward-declared symbols and registers native built-in modules, such as sys and time.
1517
_ "github.com/go-python/gpython/modules"
18+
19+
// This is the primary import for gpython.
20+
// It contains all symbols needed to fully compile and run python.
1621
"github.com/go-python/gpython/py"
1722
)
1823

0 commit comments

Comments
 (0)