http://docs.python.org/release/2.5.2/ref/pass.html
6.4 The pass statement
pass_stmt ::= "pass"
Download entire grammar as text.
pass is a null operation -- when it is executed, nothing happens. It is useful as a placeholder when a statement is required syntactically, but no code needs to be executed, for example:
def f(arg): pass # a function that does nothing (yet)
class C: pass # a class with no methods (yet)
iPhone 에서 작성된 글입니다.
6.4 The pass statement
pass_stmt ::= "pass"
Download entire grammar as text.
pass is a null operation -- when it is executed, nothing happens. It is useful as a placeholder when a statement is required syntactically, but no code needs to be executed, for example:
def f(arg): pass # a function that does nothing (yet)
class C: pass # a class with no methods (yet)
iPhone 에서 작성된 글입니다.
'리눅스 > 스크립트/유틸' 카테고리의 다른 글
python, tempfile.mkdtemp (0) | 2013.04.28 |
---|---|
python, getopt (0) | 2013.04.21 |
git 저장소 추가 시에 주의 할 점. (0) | 2013.03.24 |
byobu detached 세션 죽이기 (0) | 2013.03.13 |
grep sed 를 이용해 여러 파일에 있는 문자 치환하기 (0) | 2013.02.07 |