Are you writing this function in a .sage file or a .py file?  The latter
won't work, since it doesn't preparse the input.
David

On Wed, Apr 28, 2021 at 12:13 AM 'Justin C. Walker' via sage-devel <
sage-devel@googlegroups.com> wrote:

> A few details would help:
> - what version of sage?
> - what OS/version?
> - build from source/download from sagemath.org/use package manager for
> some system?
>
> FWIW, I tried your example on sage 9.3.rc4, with no complaints (macOS
> 10.15.7).
>
> Justin
>
> > On Apr 27, 2021, at 19:48, 'Galen Dorpalen-Barry' via sage-devel <
> sage-devel@googlegroups.com> wrote:
> >
> > def error_maker(n):
> >
> >     return [0..n]
> >
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-devel/555D55A0-3F01-49F4-9FDB-298548D07172%40mac.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAChs6_kvYcagX7NKhnBmudUvFE_t-fK4Q_1zvB5af5eGL4GEGA%40mail.gmail.com.

Reply via email to