@@ -147,12 +147,12 @@ Diff generation
147147 :meth: `~SequenceMatcher.find_longest_match ` method's *isjunk *
148148 parameter for an explanation.
149149
150- .. versionchanged :: 3.16
151- Added keyword-only *autojunk * parameter.
152-
153150 Setting the optional *autojunk * argument to ``False `` will turn
154151 :ref: `automatic junk heuristic <difflib-junk >` off.
155152
153+ .. versionchanged :: 3.16
154+ Added keyword-only *autojunk * parameter.
155+
156156
157157
158158 :class: `Differ ` objects are used (deltas generated) via a single method:
@@ -200,12 +200,12 @@ Diff generation
200200 (used by :class: `HtmlDiff ` to generate the side by side HTML differences).
201201 See :func: `ndiff ` documentation for argument default values and descriptions.
202202
203- .. versionchanged :: 3.16
204- Added keyword-only *autojunk * parameter.
205-
206203 Setting the optional *autojunk * argument to ``False `` will turn
207204 :ref: `automatic junk heuristic <difflib-junk >` off.
208205
206+ .. versionchanged :: 3.16
207+ Added keyword-only *autojunk * parameter.
208+
209209
210210 The following methods are public:
211211
@@ -294,12 +294,12 @@ Diff generation
294294
295295 See :ref: `difflib-interface ` for a more detailed example.
296296
297- .. versionchanged :: 3.16
298- Added keyword-only *autojunk * parameter.
299-
300297 Setting the optional *autojunk * argument to ``False `` will turn
301298 :ref: `automatic junk heuristic <difflib-junk >` off.
302299
300+ .. versionchanged :: 3.16
301+ Added keyword-only *autojunk * parameter.
302+
303303
304304.. function :: get_close_matches(word, possibilities, n=3, cutoff=0.6, *, autojunk=True)
305305
@@ -313,9 +313,6 @@ Diff generation
313313 Optional argument *cutoff * (default ``0.6 ``) is a float in the range [0, 1].
314314 Possibilities that don't score at least that similar to *word * are ignored.
315315
316- .. versionchanged :: 3.16
317- Added keyword-only *autojunk * parameter.
318-
319316 Setting the optional *autojunk * argument to ``False `` will turn
320317 :ref: `automatic junk heuristic <difflib-junk >` off.
321318
@@ -332,6 +329,9 @@ Diff generation
332329 >>> get_close_matches(' accept' , keyword.kwlist)
333330 ['except']
334331
332+ .. versionchanged :: 3.16
333+ Added keyword-only *autojunk * parameter.
334+
335335
336336.. function :: ndiff(a, b, linejunk=None, charjunk=IS_CHARACTER_JUNK, *, autojunk=True)
337337
@@ -354,9 +354,6 @@ Diff generation
354354 function :func: `IS_CHARACTER_JUNK `, which filters out whitespace characters (a
355355 blank or tab; it's a bad idea to include newline in this!).
356356
357- .. versionchanged :: 3.16
358- Added keyword-only *autojunk * parameter.
359-
360357 Setting the optional *autojunk * argument to ``False `` will turn
361358 :ref: `automatic junk heuristic <difflib-junk >` off.
362359
@@ -375,6 +372,9 @@ Diff generation
375372 + tree
376373 + emu
377374
375+ .. versionchanged :: 3.16
376+ Added keyword-only *autojunk * parameter.
377+
378378
379379.. function :: restore(sequence, which)
380380
@@ -447,12 +447,12 @@ Diff generation
447447 .. versionchanged :: 3.15
448448 Added the *color * parameter.
449449
450- .. versionchanged :: 3.16
451- Added keyword-only *autojunk * parameter.
452-
453450 Setting the optional *autojunk * argument to ``False `` will turn
454451 :ref: `automatic junk heuristic <difflib-junk >` off.
455452
453+ .. versionchanged :: 3.16
454+ Added keyword-only *autojunk * parameter.
455+
456456
457457.. function :: diff_bytes(dfunc, a, b, fromfile=b'', tofile=b'', fromfiledate=b'', tofiledate=b'', n=3, lineterm=b'\n')
458458
0 commit comments