Skip to content
  • Damien George's avatar
    py/modbuiltins: Use standard arg-parsing helper func for builtin print. · 58f00d7c
    Damien George authored
    This allows the function to raise an exception when unknown keyword args
    are passed in.  This patch also reduces code size by (in bytes):
    
       bare-arm:   -24
    minimal x86:   -76
       unix x64:   -56
    unix nanbox:   -84
          stm32:   -40
        esp8266:   -68
         cc3200:   -48
    
    Furthermore, this patch adds space (" ") to the set of ROM qstrs which
    means it doesn't need to be put in RAM if it's ever used.
    58f00d7c