Skip to content

Commit

Permalink
Merge pull request #7759 from jposada202020/correcting_print_format_r…
Browse files Browse the repository at this point in the history
…eference

removing need to use print format option.
  • Loading branch information
dhalbert authored Mar 20, 2023
2 parents 41a8ada + f56c221 commit c600429
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions docs/design_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -742,14 +742,7 @@ You could other examples if needed featuring different
functionalities of the library.
If you add additional examples, be sure to include them in the ``examples.rst``. Naming of the examples
files should use the name of the library followed by a description, using underscore to separate them.
When using print statements you should use the ``" ".format()`` format, as there are particular boards
that are not capable to use f-strings.

.. code-block:: python
text_to_display = "World!"
print("Hello {}".format(text_to_display))

Sensor properties and units
--------------------------------------------------------------------------------
Expand Down

0 comments on commit c600429

Please sign in to comment.