Skip to content

Commit 2aaabd4

Browse files
committed
Small mistakes in doc
1 parent d63dc05 commit 2aaabd4

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

udsoncan/__init__.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ class Dtc:
8686
"""
8787
class Format:
8888
"""
89-
Provide a list of DTC formats and their indices. These values are used by the :ref:`The ReadDTCInformation<ReadDtcInformation>`
90-
when requesting a number of DTCs.
89+
Provide a list of DTC formats and their indices. These values are used by the :ref:`The ReadDTCInformation<ReadDtcInformation>` when requesting a number of DTCs.
9190
"""
9291
ISO15031_6 = 0
9392
ISO14229_1 = 1
@@ -317,11 +316,11 @@ class MemoryLocation:
317316
:type address: int
318317
319318
:param memorysize: The size of the memory block
320-
:type memorysize: int or None
319+
:type memorysize: int
321320
322321
:param address_format: The number of bits on which an address should be encoded. Possible values are 8, 16, 24, 32, 40.
323322
If ``None`` is specified, the smallest size required to store the given address will be used
324-
:type address_format: int
323+
:type address_format: int or None
325324
326325
:param memorysize_format: The number of bits on which a memory size should be encoded. Possible values are 8, 16, 24, 32
327326
If ``None`` is specified, the smallest size required to store the given memorysize will be used
@@ -877,7 +876,7 @@ class Baudrate:
877876
Some standard baudrate values are defined within ISO-14229:2006 Annex B.3
878877
879878
:param baudrate: The baudrate to be used.
880-
:type: int
879+
:type baudrate: int
881880
882881
:param baudtype: Tells how the baudrate shall be encoded. 4 values are possible:
883882

0 commit comments

Comments
 (0)