diff options
author | 2017-07-17 18:59:54 +0200 | |
---|---|---|
committer | 2017-07-18 09:48:58 +0200 | |
commit | 176d894dda80db4872d5f1e5ab8a544f554089a9 (patch) | |
tree | e6b6b3f3bc344b2c848f48d08f5f37fd8fbf9921 /src/main/java/com/google/devtools/build/lib | |
parent | e19adfb32e1947608f19578699c2ecb3fa5930d5 (diff) |
Update documentation for 'attr_definition' and rename it 'Attribute'.
RELNOTES: None.
PiperOrigin-RevId: 162228252
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/SkylarkAttr.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/SkylarkAttr.java b/src/main/java/com/google/devtools/build/lib/rules/SkylarkAttr.java index 06974be42e..2091822e95 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/SkylarkAttr.java +++ b/src/main/java/com/google/devtools/build/lib/rules/SkylarkAttr.java @@ -1619,11 +1619,12 @@ public final class SkylarkAttr implements SkylarkValue { /** A descriptor of an attribute defined in Skylark. */ @SkylarkModule( - name = "attr_definition", + name = "Attribute", category = SkylarkModuleCategory.NONE, doc = - "Representation of a definition of an attribute; constructed by <code>attr.*</code> " - + "functions. They are only for use with <a href=\"globals.html#rule\">rule</a> or " + "Representation of a definition of an attribute. Use the <a href=\"attr\"> module to " + + "create an Attribute. They are only for use with " + + "<a href=\"globals.html#rule\">rule</a> or " + "<a href=\"globals.html#aspect\">aspect</a>." ) public static final class Descriptor implements SkylarkValue { @@ -1671,4 +1672,3 @@ public final class SkylarkAttr implements SkylarkValue { SkylarkSignatureProcessor.configureSkylarkFunctions(SkylarkAttr.class); } } - |