Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 2.3k
Visibility hidden#995
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
Uh oh!
There was an error while loading. Please reload this page.
Visibility hidden #995
Changes from all commits
387904588ae0c1368fb7f17c332d8b9c6c522eae8aFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -12,7 +12,7 @@ | ||
| #include "cast.h" | ||
| NAMESPACE_BEGIN(pybind11) | ||
| NAMESPACE_BEGIN(PYBIND11_NAMESPACE) | ||
Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wouldn't it be simpler to add the visibility attribute to the Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm against that, for selfish reasons :). I have several other projects that use the Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah, I guess that's why | ||
| /// \addtogroup annotations | ||
| /// @{ | ||
| @@ -478,4 +478,4 @@ constexpr bool expected_num_args(size_t nargs, bool has_args, bool has_kwargs) { | ||
| } | ||
| NAMESPACE_END(detail) | ||
| NAMESPACE_END(pybind11) | ||
| NAMESPACE_END(PYBIND11_NAMESPACE) | ||
Uh oh!
There was an error while loading. Please reload this page.
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.
Weird question, but: Why two spaces after a period?
Uh oh!
There was an error while loading. Please reload this page.
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.
In monospace fonts, it is visually closer to, e.g., a TeX inter-sentence space. It's also consistent with what you get from tools like
manwhen used in a terminal. And while I do think it looks a bit better, it's mainly habit: I do it without even thinking about it.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.
Also (I just noticed) vim does this automatically when rewrapping (e.g. if a line ends with a
.). I'd be quite surprised if there isn't an option to control that, but it isn't something I turned on specifically.