diff --git a/docs/library/machine.RTC.rst b/docs/library/machine.RTC.rst
index 2a53b91469e3ae739abec877705ce58b6263f386..95fa2b4ce60941b1ee9970def1ccc5cfdab00d90 100644
--- a/docs/library/machine.RTC.rst
+++ b/docs/library/machine.RTC.rst
@@ -38,7 +38,7 @@ Methods
 
    Resets the RTC to the time of January 1, 2015 and starts running it again.
 
-.. method:: RTC.alarm(id, time, /*, repeat=False)
+.. method:: RTC.alarm(id, time, \*, repeat=False)
 
    Set the RTC alarm. Time might be either a millisecond value to program the alarm to
    current time + time_in_ms in the future, or a datetimetuple. If the time passed is in