Skip to content

Commit 8c9db9e

Browse files
committed
Clarify comment on the call to str.upper()
1 parent 966cce1 commit 8c9db9e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

concepts/basics/about.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ TypeError: raise_to_power() missing 1 required positional argument: 'power'
225225

226226
# Calling methods or functions in classes and modules.
227227
>>> start_text = "my silly sentence for examples."
228-
>>> str.upper(start_text) # Calling the upper() method for the built-in str class.
228+
>>> str.upper(start_text) # Calling the upper() method from the built-in str class on start_text.
229229
'MY SILLY SENTENCE FOR EXAMPLES.'
230230

231231
# Importing the math module

exercises/concept/guidos-gorgeous-lasagna/.docs/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ TypeError: raise_to_power() missing 1 required positional argument: 'power'
181181

182182
# Calling methods or functions in classes and modules.
183183
>>> start_text = "my silly sentence for examples."
184-
>>> str.upper(start_text) # Calling the upper() method for the built-in str class.
184+
>>> str.upper(start_text) # Calling the upper() method from the built-in str class on start_text.
185185
'MY SILLY SENTENCE FOR EXAMPLES.'
186186

187187
# Importing the math module

0 commit comments

Comments
 (0)