官术网_书友最值得收藏!

Summary

This chapter covered various best syntax practices that do not directly relate to Python classes and object-oriented programming. The first part of the chapter was dedicated to syntax features around Python sequences and collections, strings and byte-related sequences were also discussed. The rest of the chapter covered independent syntax elements of two groups—those that are relatively hard to understand for beginners (such as iterators, generators, and decorators) and those that are simply less known (the for…else clause and function annotations).

主站蜘蛛池模板: 鲜城| 湖州市| 汉阴县| 西充县| 广德县| 通州区| 胶州市| 莫力| 山西省| 葫芦岛市| 渭南市| 鄂温| 曲靖市| 西安市| 新兴县| 张家港市| 重庆市| 彰化县| 灵山县| 秀山| 双柏县| 南安市| 衡山县| 田东县| 璧山县| 新绛县| 双鸭山市| 梅河口市| 久治县| 沁水县| 定陶县| 沛县| 板桥市| 都江堰市| 健康| 莱州市| 林口县| 龙胜| 新宁县| 宝山区| 边坝县|