File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ History and release notes
99
1010* Dropped support for Python < 3.6
1111* Added :meth: `Parser.until `. Thanks `@mcdeoliveira <https://github.com/mcdeoliveira >`_!
12- * `Parser.optional ` now supports an optional default argument to be returned instead of ``None ``.
12+ * :meth: `Parser.optional ` now supports an optional default argument to be returned instead of ``None ``.
1313
14141.4.0 - 2021-11-15
1515------------------
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ can be used and manipulated as below.
130130
131131 .. versionadded :: 2.0
132132
133- .. method :: optional([ default=None] )
133+ .. method :: optional(default=None)
134134
135135 Returns a parser that expects the initial parser zero or once, and maps
136136 the result to a given default value in the case of no match. If no default
You can’t perform that action at this time.
0 commit comments