Skip to content

Commit ae5c03d

Browse files
committed
PYTHON-2173 Update comment in with_transaction example for the docs manual
1 parent 1c2a575 commit ae5c03d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1050,7 +1050,7 @@ def update_employee_info(session):
10501050
client = MongoClient(uriString)
10511051
wc_majority = WriteConcern("majority", wtimeout=1000)
10521052

1053-
# Prereq: Create collections. CRUD operations in transactions must be on existing collections.
1053+
# Prereq: Create collections.
10541054
client.get_database(
10551055
"mydb1", write_concern=wc_majority).foo.insert_one({'abc': 0})
10561056
client.get_database(

0 commit comments

Comments
 (0)