blob: 5ee1f13a2909518b1492c67ca259df655fa7f4cf [file] [edit]
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
class B:
name: str = ""
class A:
name: str = "a"
b: B = B()
x: int = 1
a: A = A()
b_name = a.b.name
a.name.capitalize()
b_name.capitalize()