py/bind: better pythonization
Ouverte
- Langage dominant
- Go
- Étoiles
- 17
- Forks
- 2
- Métriques de merge des PR
- Aucune PR mergée en 30 j
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`.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.