-
-
Notifications
You must be signed in to change notification settings - Fork 565
New issue
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
Documentation for sum() function should indicate Python syntax *first* #9321
Comments
comment:2
The sagenb bug spreadsheet has several examples, too. |
Branch: u/rws/ticket/9321 |
New commits:
|
Commit: |
Author: Ralf Stephan |
comment:6
Nice first step. I would also add some actual examples as the original reporter suggests - maybe with an explicit example showing what does and doesn't work along these lines. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:8
How about this? Cannot make it any shorter than that. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:10
Your warning messages are indented one too many times. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Reviewer: Karl-Dieter Crisman, Travis Scrimshaw |
comment:13
Thanks for the review. |
comment:14
Okay, I'm going to ask for one final thing. Probably it isn't appropriate to have this warning be before one even sees the INPUT block! Can you put this after the first few examples, and then have some wording indicating "now back to the examples" in a not-informal way? Otherwise we'll have the opposite problem of everyone avoiding this function :) Also, another nit-pick - try to put the Thanks! Sorry this is an incremental review but it will be more awesomer soon. |
Changed branch from u/rws/ticket/9321 to u/rws/new9321 |
comment:15
I moved the warning a bit lower and added necessary backticks. I also removed the version string from the python link, although you will still arrive at the 2.x version. It's no longer hardcoded however. Finally, I had to change the branch path because New commits:
|
comment:16
Karl-Dieter, are you happy with the current version? (Really this is an elaborate ping.) |
comment:17
https://docs.python.org/{2,3}/library/functions.html#sum is the link, technically. I won't hold it up for that, though, since they can just click on "sum" from the big list at that location. Doc looks good now.
:-) Sorry for the delay; I definitely have been having to cut back even on review time the past few months. |
Changed branch from u/rws/new9321 to |
When did we hijack the sum function? Based on the documentation there, I have (today alone) had four different people come up to me and ask why something like the following doesn't work:
I know the reasons this shouldn't work, but newbies definitely don't. It should say something about how to do
before "getting all symbolic."
CC: @kcrisman
Component: documentation
Author: Ralf Stephan
Branch/Commit:
5f47daf
Reviewer: Karl-Dieter Crisman, Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/9321
The text was updated successfully, but these errors were encountered: