Fix broken link
MOS_MIGRATED_REVID=148397556
@@ -75,10 +75,10 @@ instantiate rules must have a `name` argument. This argument should not be
optional (don't give a default value).
* Public functions should use a docstring following [Python
- conventions](https://google-styleguide.googlecode.com/svn/trunk/pyguide.html?showone=Comments#Comments).
+ conventions](https://www.python.org/dev/peps/pep-0257/#one-line-docstrings).
-* In BUILD files, the `name` argument of the macros must be a keyword
- argument (not a positional argument).
+* In BUILD files, the `name` argument of the macros must be a keyword argument
+ (not a positional argument).
* The `name` attribute of rules generated by a macro should include the name
argument as a prefix. For example, `macro(name = "foo")` can generate a
@@ -86,12 +86,12 @@ optional (don't give a default value).
* In most cases, optional parameters should have a default value of `None`.
`None` can be passed directly to native rules, which treat it the same as if
- you had not passed in any argument. Thus, there is no need to replace it with
- `0`, `False`, or `[]` for this purpose. Instead, the macro should defer to the
- rules it creates, as their defaults may be complex or may change over time.
- Additionally, a parameter that is explicitly set to its default value looks
- different than one that is never set (or set to `None`) when accessed through
- the query language or build-system internals.
+ you had not passed in any argument. Thus, there is no need to replace it
+ with `0`, `False`, or `[]` for this purpose. Instead, the macro should defer
+ to the rules it creates, as their defaults may be complex or may change over
+ time. Additionally, a parameter that is explicitly set to its default value
+ looks different than one that is never set (or set to `None`) when accessed
+ through the query language or build-system internals.
* Macros should have an optional `visibility` argument.
