From 402985f668debdbf52687d45b788854ad3c9482c Mon Sep 17 00:00:00 2001 From: Barbara Ericson Date: Mon, 4 Nov 2024 17:17:07 -0500 Subject: [PATCH] Fix to handle colon in the answer --- _sources/web/parsingXML.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_sources/web/parsingXML.rst b/_sources/web/parsingXML.rst index e7c9ef75..9100095b 100644 --- a/_sources/web/parsingXML.rst +++ b/_sources/web/parsingXML.rst @@ -63,7 +63,7 @@ Look at the code below and predict what will be printed. What is the last thing (last line of text) that will be printed when the code below runs? - - :['"]?Attr: None['"]?: The default is to print None if there is no attribute with that name when you use ``.get('name')``. + - :['"]?Attr\: None['"]?: The default is to print None if there is no attribute with that name when you use ``.get('name')``. :['"]?None['"]?: Something will be printed before the value. Look at the print statement again. :.*: What is the default value when there is no attribute with that name?