File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -327,7 +327,10 @@ PyDoc_STRVAR(Reader_fileno__doc__,
327327 "fileno() -> int\n\n"
328328 "Get a file descriptor to poll for changes in the journal.\n"
329329 "This method invokes sd_journal_get_fd().\n"
330- "See :manpage:`sd_journal_get_fd(3)`." );
330+ "See :manpage:`sd_journal_get_fd(3)`.\n\n"
331+ "When the file descriptor returned by this function is used a poll\n"
332+ "loop, .process() should be used to process events and reset the readability\n"
333+ "state of the file descriptor." );
331334static PyObject * Reader_fileno (Reader * self , PyObject * args ) {
332335 int fd ;
333336
@@ -850,7 +853,7 @@ static PyObject* Reader_seek_monotonic(Reader *self, PyObject *args) {
850853
851854PyDoc_STRVAR (Reader_process__doc__ ,
852855 "process() -> state change (integer)\n\n"
853- "Process events and reset the readable state of the file\n"
856+ "Process events and reset the readability state of the file\n"
854857 "descriptor returned by .fileno().\n\n"
855858 "Will return constants: NOP if no change; APPEND if new\n"
856859 "entries have been added to the end of the journal; and\n"
You can’t perform that action at this time.
0 commit comments