-
Notifications
You must be signed in to change notification settings - Fork 511
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
fix #1041 #1049
fix #1041 #1049
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
@@ -79,7 +79,7 @@ def _clean_cell(cell, clear_all, allowed_metadata_keys, clean_ids): | |||
# %% ../nbs/api/clean.ipynb 13 | |||
def clean_nb( | |||
nb, # The notebook to clean | |||
clear_all=False, # Remove all cell metadata and cell outputs | |||
clear_all=False, # Remove all cell metadata and cell outputs? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think the question mark could be confusing? It is a bit confusing for me
Meaning I interpret it as we aren't sure what the program will do
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's something I noticed Jeremy doing to describe bool parameters and quite liked myself. I think you get used to reading the ?
as not sounding confused 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
haha ok
Do you think the question mark could be confusing? It is a bit confusing for me
Meaning I interpret it as we aren't sure what the program will do
Personally I pretty much always like to use a "?" on boolean params. It's a fairly standard approach - e.g some languages actually require "?" in their syntax!
Perhaps the docment could be rephrased to make the question clearer?
|
Config.types
fromdocments(_apply_defaults)