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

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: "We can include other contexts through the use of the include directive."

A block of code is set as follows:

class foo:
    """
    Documentation of the class.
    It can be multiline and contain any amount of text
    """
    @classmethod
    def bar(self, first=0, second=0):
        """This is the documentation for the method"""
        return first + second

print(foo.bar())

Any command-line input or output is written as follows:

python manage.py schemamigration south2ptvs –-initial

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Clicking on the Next button moves you to the next screen."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 安泽县| 元谋县| 澄城县| 巢湖市| 平乐县| 喀什市| 安达市| 罗甸县| 东莞市| 兴业县| 得荣县| 佳木斯市| 南昌县| 郑州市| 东乌珠穆沁旗| 桃园县| 甘孜县| 屏南县| 菏泽市| 胶州市| 光泽县| 保亭| 汉阴县| 山阴县| 江北区| 玛沁县| 弋阳县| 黄大仙区| 罗山县| 贡嘎县| 云安县| 五家渠市| 会昌县| 光山县| 弥勒县| 乌鲁木齐县| 黄梅县| 二连浩特市| 马边| 蚌埠市| 江达县|