You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTE.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -40,9 +40,9 @@ If it is large, such as suggesting a new repository, sub-repository, or interfac
40
40
### Your First Code Contribution
41
41
42
42
If you are a new contributor, *thank you!*
43
-
Before your first merge, you will need to be added to the [CONTRIBUTORS](https://github.com/go-python/license/blob/master/CONTRIBUTORS) and [AUTHORS](https://github.com/go-python/license/blob/master/AUTHORS) files.
43
+
Before your first merge, you will need to be added to the [CONTRIBUTORS](https://github.com/go-python/license/blob/main/CONTRIBUTORS) and [AUTHORS](https://github.com/go-python/license/blob/main/AUTHORS) files.
44
44
Open a pull request adding yourself to these files.
45
-
All `go-python` code follows the BSD license in the [license document](https://github.com/go-python/license/blob/master/LICENSE).
45
+
All `go-python` code follows the BSD license in the [license document](https://github.com/go-python/license/blob/main/LICENSE).
46
46
We prefer that code contributions do not come with additional licensing.
47
47
For exceptions, added code must also follow a BSD license.
48
48
@@ -88,7 +88,7 @@ Please always format your code with [goimports](https://godoc.org/golang.org/x/t
88
88
Best is to have it invoked as a hook when you save your `.go` files.
89
89
90
90
Files in the `go-python` repository don't list author names, both to avoid clutter and to avoid having to keep the lists up to date.
91
-
Instead, your name will appear in the change log and in the [CONTRIBUTORS](https://github.com/go-python/license/blob/master/CONTRIBUTORS) and [AUTHORS](https://github.com/go-python/license/blob/master/AUTHORS) files.
91
+
Instead, your name will appear in the change log and in the [CONTRIBUTORS](https://github.com/go-python/license/blob/main/CONTRIBUTORS) and [AUTHORS](https://github.com/go-python/license/blob/main/AUTHORS) files.
92
92
93
93
New files that you contribute should use the standard copyright header:
Speed hasn't been a goal of the conversions however it runs pystone at
57
-
about 20% of the speed of CPython. A [π computation test](https://github.com/go-python/gpython/tree/master/examples/pi_chudnovsky_bs.py) runs quicker under
57
+
about 20% of the speed of CPython. A [π computation test](https://github.com/go-python/gpython/tree/main/examples/pi_chudnovsky_bs.py) runs quicker under
58
58
gpython as the Go long integer primitives are likely faster than the
59
59
Python ones.
60
60
@@ -63,15 +63,15 @@ you know would be interested to take it futher, it would be much appreciated.
63
63
64
64
## Getting Started
65
65
66
-
The [embedding example](https://github.com/go-python/gpython/tree/master/examples/embedding) demonstrates how to
66
+
The [embedding example](https://github.com/go-python/gpython/tree/main/examples/embedding) demonstrates how to
67
67
easily embed and invoke gpython from any Go application.
68
68
69
69
Of interest, gpython is able to run multiple interpreter instances simultaneously,
70
70
allowing you to embed gpython naturally into your Go application. This makes it
71
71
possible to use gpython in a server situation where complete interpreter
72
-
independence is paramount. See this in action in the [multi-context example](https://github.com/go-python/gpython/tree/master/examples/multi-context).
72
+
independence is paramount. See this in action in the [multi-context example](https://github.com/go-python/gpython/tree/main/examples/multi-context).
73
73
74
-
If you are looking to get involved, a light and easy place to start is adding more convenience functions to [py/util.go](https://github.com/go-python/gpython/tree/master/py/util.go). See [notes.txt](https://github.com/go-python/gpython/blob/master/notes.txt) for bigger ideas.
74
+
If you are looking to get involved, a light and easy place to start is adding more convenience functions to [py/util.go](https://github.com/go-python/gpython/tree/main/py/util.go). See [notes.txt](https://github.com/go-python/gpython/blob/main/notes.txt) for bigger ideas.
75
75
76
76
77
77
## Other Projects of Interest
@@ -88,4 +88,4 @@ or on the [Gophers Slack](https://gophers.slack.com/) in the `#go-python` channe
88
88
89
89
This is licensed under the MIT licence, however it contains code which
90
90
was ported fairly directly directly from the CPython source code under
91
-
the [PSF LICENSE](https://github.com/python/cpython/blob/master/LICENSE).
91
+
the [PSF LICENSE](https://github.com/python/cpython/blob/main/LICENSE).
0 commit comments