Skip to content

Commit f4a3fb4

Browse files
authored
Merge pull request #257 from ysung6/master
fix docstring typo
2 parents 69a8569 + 7d463a9 commit f4a3fb4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

aws_xray_sdk/core/async_recorder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def capture_async(self, name=None):
5353

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

6363
def in_subsegment_async(self, name=None, **subsegment_kwargs):
6464
"""
65-
Return a subsegment async context manger.
65+
Return a subsegment async context manager.
6666
6767
:param str name: the name of the segment
6868
:param dict segment_kwargs: remaining arguments passed directly to `begin_segment`

aws_xray_sdk/core/recorder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ class to have your own implementation of the streaming process.
184184

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

194194
def in_subsegment(self, name=None, **subsegment_kwargs):
195195
"""
196-
Return a subsegment context manger.
196+
Return a subsegment context manager.
197197
198198
:param str name: the name of the subsegment
199199
:param dict subsegment_kwargs: remaining arguments passed directly to `begin_subsegment`

0 commit comments

Comments
 (0)