Skip to content

Commit

Permalink
Replace WITH NAME by AS in BuiltIn documentation (#5111)
Browse files Browse the repository at this point in the history
  • Loading branch information
kkotenko committed Apr 11, 2024
1 parent 250588e commit fb099c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/robot/libraries/BuiltIn.py
Original file line number Diff line number Diff line change
Expand Up @@ -3223,12 +3223,12 @@ def import_library(self, name, *args):
operating systems.
It is possible to pass arguments to the imported library and also
named argument syntax works if the library supports it. ``WITH NAME``
named argument syntax works if the library supports it. ``AS``
syntax can be used to give a custom name to the imported library.
Examples:
| Import Library | MyLibrary |
| Import Library | ${CURDIR}/Lib.py | arg1 | named=arg2 | WITH NAME | Custom |
| Import Library | ${CURDIR}/Lib.py | arg1 | named=arg2 | AS | Custom |
"""
args, alias = self._split_alias(args)
try:
Expand Down

0 comments on commit fb099c9

Please sign in to comment.