@@ -861,7 +861,8 @@ should, then :meth:`flush` is expected to do the flushing.
861861
862862.. class :: BufferingHandler(capacity)
863863
864- Initializes the handler with a buffer of the specified capacity.
864+ Initializes the handler with a buffer of the specified capacity. Here,
865+ *capacity * means the number of logging records buffered.
865866
866867
867868 .. method :: emit(record)
@@ -885,12 +886,13 @@ should, then :meth:`flush` is expected to do the flushing.
885886.. class :: MemoryHandler(capacity, flushLevel=ERROR, target=None, flushOnClose=True)
886887
887888 Returns a new instance of the :class: `MemoryHandler ` class. The instance is
888- initialized with a buffer size of *capacity *. If *flushLevel * is not specified,
889- :const: `ERROR ` is used. If no *target * is specified, the target will need to be
890- set using :meth: `setTarget ` before this handler does anything useful. If
891- *flushOnClose * is specified as ``False ``, then the buffer is *not * flushed when
892- the handler is closed. If not specified or specified as ``True ``, the previous
893- behaviour of flushing the buffer will occur when the handler is closed.
889+ initialized with a buffer size of *capacity * (number of records buffered).
890+ If *flushLevel * is not specified, :const: `ERROR ` is used. If no *target * is
891+ specified, the target will need to be set using :meth: `setTarget ` before this
892+ handler does anything useful. If *flushOnClose * is specified as ``False ``,
893+ then the buffer is *not * flushed when the handler is closed. If not specified
894+ or specified as ``True ``, the previous behaviour of flushing the buffer will
895+ occur when the handler is closed.
894896
895897 .. versionchanged :: 3.6
896898 The *flushOnClose * parameter was added.
0 commit comments