Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Traceback (most recent call last): File "<stdin>", line 1, in <module> FIXME line of source goes here TypeError: TypeError: 'all() takes exactly 1 argument (3 given)'
Traceback (most recent call last): File "<stdin>", line 1, in <module> FIXME line of source goes here TypeError: 'all() takes exactly 1 argument (3 given)'
The text was updated successfully, but these errors were encountered:
@ncw
gpython/vm/eval.go
Line 105 in 50cd487
Line 104 in 50cd487
vm.curexc.Type
vm.curexc.Value
But I don't know where it works, can you guide it please? Thanks!
Sorry, something went wrong.
I think you want to change this in py/exception.go
py/exception.go
// Dump a traceback for exc to w func (exc *ExceptionInfo) TracebackDump(w io.Writer) { if exc == nil { fmt.Fprintf(w, "Traceback <nil>\n") return } fmt.Fprintf(w, "Traceback (most recent call last):\n") exc.Traceback.TracebackDump(w) name := "<nil>" if exc.Type != nil { name = exc.Type.Name } fmt.Fprintf(w, "%v: %v\n", name, exc.Value) }
No branches or pull requests
Got:
Expected:
The text was updated successfully, but these errors were encountered: