Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for get_name_with_age (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_tutorial/test_python_types/test_tutorial003.py

    import pytest
    
    from docs_src.python_types.tutorial003_py39 import get_name_with_age
    
    
    def test_get_name_with_age_pass_int():
        with pytest.raises(TypeError):
            get_name_with_age("John", 30)
    
    
    def test_get_name_with_age_pass_str():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 308 bytes
    - Click Count (0)
  2. docs_src/python_types/tutorial004_py39.py

    def get_name_with_age(name: str, age: int):
        name_with_age = name + " is this old: " + str(age)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 124 bytes
    - Click Count (0)
Back to Top