Skip to content

Commit d248885

Browse files
committed
Fix exception catch.
1 parent d0ef193 commit d248885

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/maintainability/returning_more_than_one_variable_type_from_function_call.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ When a calling module provides invalid data to a function, or a precondition to
6363
try:
6464
secret_code = get_secret_code("unicycle")
6565
print "The secret code is {}".format(secret_code)
66-
except ve as ValueError:
66+
except ValueError:
6767
print "Wrong password."
6868
6969
References

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy