py/bind: better pythonization
Aperta
- Lingua principale
- Go
- Stelle
- 17
- Fork
- 2
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
`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`.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.