Python中pass语句的作用是什么?

在编写代码时只写框架思路,具体实现还未编写就可以用 pass 进行占位,使程序不报错,不会进行任何操作。

猜你喜欢

转载自blog.csdn.net/liulin1207/article/details/80890009