Skip to content

Commit

Permalink
Merge pull request #257 from ysung6/master
Browse files Browse the repository at this point in the history
fix docstring typo
  • Loading branch information
willarmiros authored Dec 7, 2020
2 parents 69a8569 + 7d463a9 commit f4a3fb4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions aws_xray_sdk/core/async_recorder.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def capture_async(self, name=None):

def in_segment_async(self, name=None, **segment_kwargs):
"""
Return a segment async context manger.
Return a segment async context manager.
:param str name: the name of the segment
:param dict segment_kwargs: remaining arguments passed directly to `begin_segment`
Expand All @@ -62,7 +62,7 @@ def in_segment_async(self, name=None, **segment_kwargs):

def in_subsegment_async(self, name=None, **subsegment_kwargs):
"""
Return a subsegment async context manger.
Return a subsegment async context manager.
:param str name: the name of the segment
:param dict segment_kwargs: remaining arguments passed directly to `begin_segment`
Expand Down
4 changes: 2 additions & 2 deletions aws_xray_sdk/core/recorder.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ class to have your own implementation of the streaming process.

def in_segment(self, name=None, **segment_kwargs):
"""
Return a segment context manger.
Return a segment context manager.
:param str name: the name of the segment
:param dict segment_kwargs: remaining arguments passed directly to `begin_segment`
Expand All @@ -193,7 +193,7 @@ def in_segment(self, name=None, **segment_kwargs):

def in_subsegment(self, name=None, **subsegment_kwargs):
"""
Return a subsegment context manger.
Return a subsegment context manager.
:param str name: the name of the subsegment
:param dict subsegment_kwargs: remaining arguments passed directly to `begin_subsegment`
Expand Down

0 comments on commit f4a3fb4

Please sign in to comment.