Skip to content

Commit a29bd7f

Browse files
committed
docs: Fix a few typos
There are small typos in: - examples/vuln_affected_software.py - stix/bindings/stix_common.py - stix/common/structured_text.py - stix/indicator/indicator.py Fixes: - Should read `software` rather than `sofware`. - Should read `property` rather than `proeprty`. - Should read `properties` rather than `properies`. - Should read `ordinality` rather than `ordinaity`. - Should read `interfering` rather than `interferring`.
1 parent 34f2426 commit a29bd7f

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

examples/vuln_affected_software.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
# Wrap the Product Object in an Observable instance
2929
observable = Observable(software)
3030

31-
# Attach the Product observable to the affected_sofware list of
31+
# Attach the Product observable to the affected_software list of
3232
# RelatedObservable instances. This wraps our Observable in a
3333
# RelatedObservable layer.
3434
vuln = Vulnerability()

stix/bindings/stix_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3495,7 +3495,7 @@ class StructuredTextType(GeneratedsSuper):
34953495
Note that if the markup tags used by this format would be interpreted
34963496
as XML information (such as the bracket-based tags of HTML) the text
34973497
area should be enclosed in a CDATA section to prevent the markup from
3498-
interferring with XMLvalidation of the CybOX document. If this
3498+
interfering with XMLvalidation of the CybOX document. If this
34993499
attribute is absent, the implication is that no markup is being used."""
35003500
subclass = None
35013501
superclass = None

stix/common/structured_text.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def to_dict(self):
6464
"""Converts this object into a dictionary representation.
6565
6666
Note:
67-
If no properies or attributes are set other than ``value``,
67+
If no properties or attributes are set other than ``value``,
6868
this will return a string.
6969
7070
"""
@@ -95,7 +95,7 @@ def _unset_default(text):
9595
"""Unsets the ordinality of the StructuredText object `text` if the
9696
ordinality is equal to the DEFAULT_ORDINALITY.
9797
98-
The ordinaity will be returned to its original state after exiting the
98+
The ordinality will be returned to its original state after exiting the
9999
context manager.
100100
101101
"""

stix/indicator/indicator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ def add_related_indicator(self, indicator):
470470
``related_indicators`` list property.
471471
472472
Calling this method is the same as calling ``append()`` on the
473-
``related_indicators`` proeprty.
473+
``related_indicators`` property.
474474
475475
See Also:
476476
The :class:`RelatedIndicators` documentation.

0 commit comments

Comments
 (0)