summaryrefslogtreecommitdiff
path: root/doc/usage/extensions/example_google.py
diff options
context:
space:
mode:
authorQuentin Soubeyran <45202794+QuentinSoubeyran@users.noreply.github.com>2020-11-18 11:18:52 +0100
committerQuentin Soubeyran <45202794+QuentinSoubeyran@users.noreply.github.com>2020-11-25 08:45:25 +0100
commitec30f7771236dd83ff702da04f1bc396568f888b (patch)
treeda11379df049db23393ec644baca968443c160bb /doc/usage/extensions/example_google.py
parenta60e1c10b782fa6d73dcd9e47881eb3ae58478df (diff)
downloadsphinx-git-ec30f7771236dd83ff702da04f1bc396568f888b.tar.gz
refactored code and tests, prepared for numpy feature
Diffstat (limited to 'doc/usage/extensions/example_google.py')
-rw-r--r--doc/usage/extensions/example_google.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/usage/extensions/example_google.py b/doc/usage/extensions/example_google.py
index 98da3870a..5fde6e226 100644
--- a/doc/usage/extensions/example_google.py
+++ b/doc/usage/extensions/example_google.py
@@ -300,7 +300,7 @@ class ExamplePEP526Class:
If the class has public attributes, they may be documented here
in an ``Attributes`` section and follow the same formatting as a
- function's ``Args`` section. If ``napoleon_google_attr_annotations``
+ function's ``Args`` section. If ``napoleon_attr_annotations``
is True, types can be specified in the class body using ``PEP 526``
annotations.