-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
Closed
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir
Description
Hello,
While translating library/syslog.rst we've realized that the comment "Changed in 3.2" for syslog.openlog() seems ambiguous:
https://docs.python.org/3/library/syslog.html#syslog.openlog
In previous versions, keyword arguments were not allowed, and ident was
required. The default for ident was dependent on the system libraries,
and often waspythoninstead of the name of the Python program file.
As ident was required before 3.2, it couldn't have a default value, so the sentence seems contradictory.
The documentation for 3.1 shows that ident is mandatory and the tests on the 3.1.5 distribution always define ident when calling openlog().
Could someone help us understand the meaning of this sentence?
Thanks
Metadata
Metadata
Assignees
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir