Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1.34 KB

keywords.md

File metadata and controls

32 lines (25 loc) · 1.34 KB

关键字(keywords)

  • 在Python的编译解释器中输入:

      (base) localhost:~ lcp0578$ python3
      Python 3.7.4 (default, Aug 13 2019, 15:17:50)
      [Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin
      Type "help", "copyright", "credits" or "license" for more information.
      >>> help('keywords')
    
      Here is a list of the Python keywords.  Enter any keyword to get more help.
    
      False               class               from                or
      None                continue            global              pass
      True                def                 if                  raise
      and                 del                 import              return
      as                  elif                in                  try
      assert              else                is                  while
      async               except              lambda              with
      await               finally             nonlocal            yield
      break               for                 not
    
      >>> help('await') #查看某个keyword
      Await expression
      ****************
    
      Suspend the execution of *coroutine* on an *awaitable* object. Can
      only be used inside a *coroutine function*.
    
         await_expr ::= "await" primary
    
      New in version 3.5.
      (END)