Skip to content

Commit b8f93bd

Browse files
committed
Fix imports and docs after move to go-python org
1 parent b8a7165 commit b8f93bd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+74
-74
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# gpython
22

3-
[![Build Status](https://travis-ci.org/ncw/gpython.svg?branch=master)](https://travis-ci.org/ncw/gpython)
4-
[![GoDoc](https://godoc.org/github.com/ncw/gpython?status.svg)](https://godoc.org/github.com/ncw/gpython)
3+
[![Build Status](https://travis-ci.org/go-python/gpython.svg?branch=master)](https://travis-ci.org/go-python/gpython)
4+
[![GoDoc](https://godoc.org/github.com/go-python/gpython?status.svg)](https://godoc.org/github.com/go-python/gpython)
55

66
gpython is a part re-implementation / part port of the Python 3.4
77
interpreter to the Go language, "batteries not included".
@@ -27,11 +27,11 @@ modules are written in C not python. The converted modules are:
2727

2828
Gpython is a Go program and comes as a single binary file.
2929

30-
Download the relevant binary from here: https://github.com/ncw/gpython/releases
30+
Download the relevant binary from here: https://github.com/go-python/gpython/releases
3131

3232
Or alternatively if you have Go installed use
3333

34-
go get github.com/ncw/gpython
34+
go get github.com/go-python/gpython
3535

3636
and this will build the binary in `$GOPATH/bin`. You can then modify
3737
the source and submit patches.

ast/asdl_go.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1231,7 +1231,7 @@ def main(srcfile):
12311231
f = open(p, "w")
12321232
f.write(auto_gen_msg)
12331233
f.write('package ast\n')
1234-
f.write('import "github.com/ncw/gpython/py"\n')
1234+
f.write('import "github.com/go-python/gpython/py"\n')
12351235
c = ChainOfVisitors(TypeDefVisitor(f),
12361236
StructVisitor(f),
12371237
PrototypeVisitor(f),

ast/ast.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ package ast
66
import (
77
"fmt"
88

9-
"github.com/ncw/gpython/py"
9+
"github.com/go-python/gpython/py"
1010
)
1111

1212
type Identifier py.String

ast/dump.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"reflect"
66
"strings"
77

8-
"github.com/ncw/gpython/py"
8+
"github.com/go-python/gpython/py"
99
)
1010

1111
func dumpItem(v interface{}) string {

ast/dump_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package ast
33
import (
44
"testing"
55

6-
"github.com/ncw/gpython/py"
6+
"github.com/go-python/gpython/py"
77
)
88

99
func TestDump(t *testing.T) {

builtin/builtin.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"fmt"
66
"unicode/utf8"
77

8-
"github.com/ncw/gpython/compile"
9-
"github.com/ncw/gpython/py"
8+
"github.com/go-python/gpython/compile"
9+
"github.com/go-python/gpython/py"
1010
)
1111

1212
const builtin_doc = `Built-in functions, exceptions, and other objects.

builtin/builtin_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package builtin_test
33
import (
44
"testing"
55

6-
"github.com/ncw/gpython/pytest"
6+
"github.com/go-python/gpython/pytest"
77
)
88

99
func TestVm(t *testing.T) {

compile/compile.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ import (
99
"log"
1010
"strings"
1111

12-
"github.com/ncw/gpython/ast"
13-
"github.com/ncw/gpython/parser"
14-
"github.com/ncw/gpython/py"
15-
"github.com/ncw/gpython/symtable"
16-
"github.com/ncw/gpython/vm"
12+
"github.com/go-python/gpython/ast"
13+
"github.com/go-python/gpython/parser"
14+
"github.com/go-python/gpython/py"
15+
"github.com/go-python/gpython/symtable"
16+
"github.com/go-python/gpython/vm"
1717
)
1818

1919
type loopType byte

compile/compile_data_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
package compile
44

55
import (
6-
"github.com/ncw/gpython/py"
6+
"github.com/go-python/gpython/py"
77
)
88

99
var compileTestData = []struct {

compile/compile_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"os/exec"
1111
"testing"
1212

13-
"github.com/ncw/gpython/py"
13+
"github.com/go-python/gpython/py"
1414
)
1515

1616
func EqString(t *testing.T, name string, a, b string) {

0 commit comments

Comments
 (0)