@@ -30,7 +30,7 @@ bitmath.getsize()
3030 :param bool bestprefix: **Default: ** ``True ``, the returned
3131 instance will be in the best human-readable
3232 prefix unit. If set to ``False `` the result
33- is a `` bitmath .Byte` ` instance.
33+ is a :class: ` .Byte ` instance.
3434 :param system: **Default: ** :py:data: `bitmath.NIST `. The preferred
3535 system of units for the returned instance.
3636 :type system: One of :py:data: `bitmath.NIST ` or :py:data: `bitmath.SI `
@@ -110,7 +110,7 @@ bitmath.listdir()
110110 :py:func: `os.path.realpath ` to normalize path
111111 references
112112 :param bool bestprefix: **Default: ** ``False ``, returns
113- `` bitmath .Byte` ` instances. Set to ``True ``
113+ :class: ` .Byte ` instances. Set to ``True ``
114114 to return the best human-readable prefix
115115 unit for representation
116116 :param system: **Default: ** :py:data: `bitmath.NIST `. Set a prefix
@@ -123,7 +123,7 @@ bitmath.listdir()
123123 * This function does **not ** return tuples for directory
124124 entities. Including directories in results is `scheduled for
125125 introduction <https://github.com/tbielawa/bitmath/issues/27> `_
126- in the upcoming 1.1.0 release.
126+ in an upcoming release.
127127 * Symlinks to **files ** are followed automatically
128128
129129
@@ -224,8 +224,6 @@ bitmath.parse_string()
224224
225225.. function :: parse_string(str_repr)
226226
227- .. versionadded :: 1.1.0
228-
229227 Parse a string representing a unit into a proper bitmath
230228 object. All non-string inputs are rejected and will raise a
231229 :py:exc: `ValueError `. Strings without units are also rejected. See
@@ -337,14 +335,14 @@ bitmath.parse_string()
337335 forgiving with input. Please read the documentation carefully so
338336 you understand the risks you assume using the ``unsafe `` parser.
339337
338+ .. versionadded :: 1.1.0
339+
340340
341341bitmath.parse_string_unsafe()
342342=============================
343343
344344.. function :: parse_string_unsafe(repr[, system=bitmath.SI])
345345
346- .. versionadded :: 1.3.1
347-
348346 Parse a string or number into a proper bitmath object. This is the
349347 less strict version of the :py:func: `bitmath.parse_string `
350348 function. While :py:func: `bitmath.parse_string ` only accepts SI and
@@ -472,6 +470,7 @@ bitmath.parse_string_unsafe()
472470 Capital ** G** followed by a lower- case ** i** ending with a capital
473471 ** B** , `` GiB`` .
474472
473+ .. versionadded:: 1.3 .1
475474
476475
477476bitmath.query_device_capacity()
0 commit comments