go-python / go-python/py

py/bind: better pythonization

Aperta
#2 0 commenti 0 reazioni 1 assegnatario Rivendicata da @sbinet Vedi su GitHub
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.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.