8000 gh-95011: Migrate syslog module to Argument Clinic by noamcohen97 · Pull Request #95012 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-95011: Migrate syslog module to Argument Clinic #95012

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

Merged
merged 22 commits into from
Oct 8, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
reformat syslog functions doc
  • Loading branch information
noamcohen97 committed Jul 20, 2022
commit 565d4b94df0de3451dd903c332c13d8747658137
6 changes: 3 additions & 3 deletions Modules/clinic/syslogmodule.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Modules/syslogmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -257,12 +257,12 @@ syslog.LOG_MASK -> long
pri: long
/

calculates the mask for the individual priority pri.
Calculates the mask for the individual priority pri.
[clinic start generated code]*/

static long
syslog_LOG_MASK_impl(PyObject *module, long pri)
/*[clinic end generated code: output=c4a5bbfcc74c7c94 input=25d2453cfd964871]*/
/*[clinic end generated code: output=c4a5bbfcc74c7c94 input=534829cb7fb5f7d2]*/
{
return LOG_MASK(pri);
}
Expand All @@ -273,12 +273,12 @@ syslog.LOG_UPTO -> long
pri: long
/

calculates the mask for all priorities up to and including pri.
Calculates the mask for all priorities up to and including pri.
[clinic start generated code]*/

static long
syslog_LOG_UPTO_impl(PyObject *module, long pri)
/*[clinic end generated code: output=9eab083c90601d7e input=6e2cb9d73da6e397]*/
/*[clinic end generated code: output=9eab083c90601d7e input=5e906d6c406b7458]*/
{
return LOG_UPTO(pri);
}
Expand Down
0