Skip to content

Commit 90acd73

Browse files
committed
all: rename master into main
Signed-off-by: Sebastien Binet <[email protected]>
1 parent 2c8ecee commit 90acd73

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: CI
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [ main ]
66
pull_request:
7-
branches: [ master ]
7+
branches: [ main ]
88
schedule:
99
- cron: '0 2 * * 1-5'
1010

CONTRIBUTE.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ If it is large, such as suggesting a new repository, sub-repository, or interfac
4040
### Your First Code Contribution
4141

4242
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.
4444
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).
4646
We prefer that code contributions do not come with additional licensing.
4747
For exceptions, added code must also follow a BSD license.
4848

@@ -88,7 +88,7 @@ Please always format your code with [goimports](https://godoc.org/golang.org/x/t
8888
Best is to have it invoked as a hook when you save your `.go` files.
8989

9090
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.
9292

9393
New files that you contribute should use the standard copyright header:
9494

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# gpython
22

33
[![Build Status](https://github.com/go-python/gpython/workflows/CI/badge.svg)](https://github.com/go-python/gpython/actions)
4-
[![codecov](https://codecov.io/gh/go-python/gpython/branch/master/graph/badge.svg)](https://codecov.io/gh/go-python/gpython)
4+
[![codecov](https://codecov.io/gh/go-python/gpython/branch/main/graph/badge.svg)](https://codecov.io/gh/go-python/gpython)
55
[![GoDoc](https://godoc.org/github.com/go-python/gpython?status.svg)](https://godoc.org/github.com/go-python/gpython)
6-
[![License](https://img.shields.io/badge/License-BSD--3-blue.svg)](https://github.com/go-python/gpython/blob/master/LICENSE)
6+
[![License](https://img.shields.io/badge/License-BSD--3-blue.svg)](https://github.com/go-python/gpython/blob/main/LICENSE)
77

88
gpython is a part re-implementation, part port of the Python 3.4
99
interpreter in Go. Although there are many areas of improvement,
@@ -54,7 +54,7 @@ gpython currently:
5454
- Supports concurrent multi-interpreter ("multi-context") execution
5555

5656
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
5858
gpython as the Go long integer primitives are likely faster than the
5959
Python ones.
6060

@@ -63,15 +63,15 @@ you know would be interested to take it futher, it would be much appreciated.
6363

6464
## Getting Started
6565

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
6767
easily embed and invoke gpython from any Go application.
6868

6969
Of interest, gpython is able to run multiple interpreter instances simultaneously,
7070
allowing you to embed gpython naturally into your Go application. This makes it
7171
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).
7373

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.
7575

7676

7777
## Other Projects of Interest
@@ -88,4 +88,4 @@ or on the [Gophers Slack](https://gophers.slack.com/) in the `#go-python` channe
8888

8989
This is licensed under the MIT licence, however it contains code which
9090
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).

examples/embedding/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,5 +98,5 @@ Spring Break itinerary:
9898
- `main.go` demonstrates high-level convenience functions such as `py.RunFile()`.
9999
- Embedding a Go `struct` as a Python object only requires that it implement `py.Object`, which is a single function:
100100
`Type() *py.Type`
101-
- See [py/run.go](https://github.com/go-python/gpython/tree/master/py/run.go) for more about interpreter instances and `py.Context`
102-
- Helper functions are available in [py/util.go](https://github.com/go-python/gpython/tree/master/py/util.go) and your contributions are welcome!
101+
- See [py/run.go](https://github.com/go-python/gpython/tree/main/py/run.go) for more about interpreter instances and `py.Context`
102+
- Helper functions are available in [py/util.go](https://github.com/go-python/gpython/tree/main/py/util.go) and your contributions are welcome!

0 commit comments

Comments
 (0)