Contents Menu Expand Light mode Dark mode Auto light/dark mode
Astroid 3.1.0-dev0 documentation
Astroid 3.1.0-dev0 documentation
  • Inference Introduction
  • Extending astroid syntax tree
  • API
    • General API
    • Nodes
      • AnnAssign
      • Arguments
      • Assert
      • Assign
      • AssignAttr
      • AssignName
      • AsyncFor
      • AsyncFunctionDef
      • AsyncWith
      • Attribute
      • AugAssign
      • Await
      • BinOp
      • BoolOp
      • Break
      • Call
      • ClassDef
      • Compare
      • Comprehension
      • Const
      • Continue
      • Decorators
      • DelAttr
      • DelName
      • Delete
      • Dict
      • DictComp
      • DictUnpack
      • EmptyNode
      • ExceptHandler
      • Expr
      • For
      • FormattedValue
      • FunctionDef
      • GeneratorExp
      • Global
      • If
      • IfExp
      • Import
      • ImportFrom
      • JoinedStr
      • Keyword
      • Lambda
      • List
      • ListComp
      • Match
      • MatchAs
      • MatchCase
      • MatchClass
      • MatchMapping
      • MatchOr
      • MatchSequence
      • MatchSingleton
      • MatchStar
      • MatchValue
      • Module
      • Name
      • Nonlocal
      • ParamSpec
      • Pass
      • Raise
      • Return
      • Set
      • SetComp
      • Slice
      • Starred
      • Subscript
      • Try
      • TryStar
      • Tuple
      • TypeAlias
      • TypeVar
      • TypeVarTuple
      • UnaryOp
      • Unknown
      • While
      • With
      • Yield
      • YieldFrom
    • Base Nodes
      • BaseContainer
      • ComprehensionScope
      • LocalsDictNodeNG
      • NodeNG
      • Pattern
    • Exceptions
  • What’s New in astroid
    • astroid’s ChangeLog

Indices

  • Index
  • Module Index
  v: latest
Versions
latest
stable
v3.0.1
v3.0.0
v2.15.8
v2.15.7
v2.15.6
v2.15.5
v2.15.4
v2.15.3
v2.15.2
v2.15.1
v2.15.0
v2.14.2
v2.14.1
v2.14.0
v2.13.4
v2.13.3
v2.13.2
v2.13.1
v2.13.0
v2.12.14
v2.12.13
v2.12.12
v2.12.11
v2.12.10
v2.12.9
v2.12.8
v2.12.7
v2.12.6
v2.12.5
v2.12.4
v2.12.3
v2.12.2
v2.12.1
v2.12.0
v2.11.7
v2.11.6
v2.11.5
v2.11.4
v2.11.3
v2.11.2
v2.11.1
v2.11.0
v2.10.0
v2.9.3
v2.9.2
v2.9.1
v2.9.0
v2.8.6
v2.8.5
v2.8.4
v2.8.3
v2.8.2
v2.8.1
v2.8.0
v2.7.3
v2.7.2
v2.7.1
v2.7.0
v2.6.6
v2.6.5
v2.6.4
v2.6.3
v2.6.2
v2.6.1
v2.6.0
v2.5.8
v2.5.7
v2.5.6
2.5.2
2.5
2.4
2.3
2.2
2.0
Downloads
On Read the Docs
Project Home
Builds
Back to top
Edit this page

Pattern#

class astroid.nodes.Pattern(lineno: int | None, col_offset: int | None, parent: NodeNG | None, *, end_lineno: int | None, end_col_offset: int | None)[source]#

Bases: NodeNG

Base class for all Pattern nodes.

Next
Exceptions
Previous
NodeNG
Copyright © 2003-2023, Logilab, and astroid contributors
Made with Sphinx and @pradyunsg's Furo
On this page
  • Pattern
    • Pattern