Skip to content

Commit

Permalink
replace WITH NAME by AS
Browse files Browse the repository at this point in the history
  • Loading branch information
kkotenko committed Apr 11, 2024
1 parent 250588e commit 62c548e
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 62c548e

Please sign in to comment.