go-python / go-python/py

py/bind: better pythonization

Open
#2 0 comments 0 reactions 1 assignee Claimed by @sbinet View on GitHub
Dominant language
Go
Stars
17
Forks
2
PR merge metrics
No merged PRs in 30d

Description

`go` functions returning an `error` such as:

``` go
func Get() (int, error) {
return 42, nil
}
```

should be wrapped as:

``` python
def get():
return 42
```

where a `python` `Exception` is raised if the `go` `error` is non-`nil`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.