aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/google/devtools/build')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/SkylarkAttr.java8
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);
}
}
-