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, ∼2307🔥, 0💬
Popular Posts:
How to use the "find-and-replace" Policy Statement for an Azure API service operation? The "find-and...
What properties and functions are supported on http.client.HTTPResponse objects? If you get an http....
How to how to use matched string and groups in replacements with re.sub()? When calling the re.sub()...
How To Read the Entire File into a Single String in PHP? If you have a file, and you want to read th...
How to add a new operation to an API on the Publisher Dashboard of an Azure API Management Service? ...