Tools, FAQ, Tutorials:
'pass' - Do Nothing Statements
How to use the "pass" statement in Python code?
✍: FYIcenter.com
The "pass" statement can be used as a place holder statement any where in Python code.
When a "pass" statement is interpreted, Python will do nothing and continue with next statement.
For example, the following Python code shows an empty function with a "pass" statement:
>>> def doNothing(): ... pass ... >>> doNothing()
⇒ Defining Functions in Python
⇐ 'continue' Statement in Repeating Statement Blocks
2017-09-12, 1397🔥, 0💬
Popular Posts:
How to decode the id_token value received from Google OpenID Connect authentication response? Accord...
How to access URL template parameters from "context.Request.Matched Parameters"object in Azure API P...
How to reinstall npm with a node version manager? I am getting permission errors with the current ve...
How to use "{{...}}" Liquid Codes in "set-body" Policy Statement? The "{{...}}" Liquid Codes in "set...
How to attach console to a Running Container using the "docker container exec" command? I want to ge...