summaryrefslogtreecommitdiff
path: root/composer.py
diff options
context:
space:
mode:
authoredward <edward@4angle.com>2017-02-09 08:18:56 +0000
committeredward <edward@4angle.com>2017-02-09 08:18:56 +0000
commitbdfd0d6bb7c0f2751676ff7ed30fcd8d69f9a61e (patch)
treef7b0d9265f84cc19aaad46f0c03a794b5414e8d7 /composer.py
parent95071a0d8a92c1ed482bdf06bbde92cdd9967c09 (diff)
downloadruamel.yaml-bdfd0d6bb7c0f2751676ff7ed30fcd8d69f9a61e.tar.gz
fix spelling mistakes
Diffstat (limited to 'composer.py')
-rw-r--r--composer.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/composer.py b/composer.py
index 791bf50..1907abc 100644
--- a/composer.py
+++ b/composer.py
@@ -89,10 +89,10 @@ class Composer(object):
if anchor is not None: # have an anchor
if anchor in self.anchors:
# raise ComposerError(
- # "found duplicate anchor %r; first occurence"
+ # "found duplicate anchor %r; first occurrence"
# % utf8(anchor), self.anchors[anchor].start_mark,
- # "second occurence", event.start_mark)
- ws = "\nfound duplicate anchor {!r}\nfirst occurence {}\nsecond occurence "\
+ # "second occurrence", event.start_mark)
+ ws = "\nfound duplicate anchor {!r}\nfirst occurrence {}\nsecond occurrence "\
"{}".format(
(anchor), self.anchors[anchor].start_mark, event.start_mark)
warnings.warn(ws, ReusedAnchorWarning)