1 背景#
1 Background
Python 是 Google 的主要动态语言。本代码风格指南列出了 Python 程序的“注意事项”。
为了帮助您正确设置代码格式,我们创建了一个 Vim 设置文件 。对于 Emacs,默认设置即可。
Python is the main dynamic language used at Google. This style guide is a list of dos and don’ts for Python programs.
To help you format code correctly, we’ve created a settings file for Vim . For Emacs, the default settings should be fine.
Many teams use the Black or Pyink auto-formatter to avoid arguing over formatting.