From d70fa01ad2ba35b82cf03edd68ef7c53fcbc112b Mon Sep 17 00:00:00 2001 From: Marcel Stimberg Date: Wed, 7 Jul 2021 11:54:27 +0200 Subject: [PATCH] Fix two more instances of `codegen.c` and change gcc->unix [ci skip] --- docs_sphinx/advanced/preferences.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs_sphinx/advanced/preferences.rst b/docs_sphinx/advanced/preferences.rst index 7ffb69c2f..fead094f7 100644 --- a/docs_sphinx/advanced/preferences.rst +++ b/docs_sphinx/advanced/preferences.rst @@ -11,13 +11,13 @@ Accessing and setting preferences Preferences can be accessed and set either keyword-based or attribute-based. The following are equivalent:: - prefs['codegen.cpp.compiler'] = 'gcc' - prefs.codegen.cpp.compiler = 'gcc' + prefs['codegen.cpp.compiler'] = 'unix' + prefs.codegen.cpp.compiler = 'unix' Using the attribute-based form can be particulary useful for interactive work, e.g. in ipython, as it offers autocompletion and documentation. -In ipython, ``prefs.codegen.c?`` would display a docstring with all -the preferences available in the ``codegen.c`` category. +In ipython, ``prefs.codegen.cpp?`` would display a docstring with all +the preferences available in the ``codegen.cpp`` category. Preference files ----------------