go-python / go-python/gpython

gpython should treat standard input as a file, not as input to the REPL

Aperta
#25 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Go
Stelle
1k
Fork
105
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

This definition works:

class X(object):
def __init__(self, x):
self.x = x
def __str__(self):
return "my name is %s" % self.x

This doesn't:

class X(object):
def __init__(self, x):
self.x = x

def __str__(self):
return "my name is %s" % self.x

Both are accepted by C Python.

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.